Port-ia64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

patch 20090202



Hi!


I succeed to load and jump to kernel on my zx6000.

# Our goal is far still much...  ;-<
Thanks,
--
kiyohara

? compile/GENERIC.SKI
? stand/ia64/efi/.gdbinit
? stand/ia64/efi/boot
? stand/ia64/efi/efi
? stand/ia64/efi/lib
? stand/ia64/efi/loader.efi
? stand/ia64/efi/loader.sym
? stand/ia64/efi/vers.c
? stand/ia64/ski/.gdbinit
? stand/ia64/ski/lib
? stand/ia64/ski/skiload
? stand/ia64/ski/vers.c
Index: ia64/machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/ia64/ia64/machdep.c,v
retrieving revision 1.12
diff -u -r1.12 machdep.c
--- ia64/machdep.c      30 Nov 2008 18:21:34 -0000      1.12
+++ ia64/machdep.c      4 Feb 2009 14:33:58 -0000
@@ -853,11 +853,11 @@
 }
 
 void
-sendsig(const ksiginfo_t *ksi, const sigset_t *mask)
+sendsig_siginfo(const ksiginfo_t *ksi, const sigset_t *mask)
 {
        return;
 }
- 
+
 void 
 cpu_upcall(struct lwp *l, int type, int nevents, int ninterrupted, void *sas, 
void *ap, void *sp, sa_upcall_t upcall)
 {
Index: ia64/pmap.c
===================================================================
RCS file: /cvsroot/src/sys/arch/ia64/ia64/pmap.c,v
retrieving revision 1.15
diff -u -r1.15 pmap.c
--- ia64/pmap.c 10 Dec 2008 11:10:18 -0000      1.15
+++ ia64/pmap.c 4 Feb 2009 14:34:00 -0000
@@ -155,7 +155,7 @@
 u_long         pmap_pages_stolen;      /* instrumentation */
 
 static struct pmap kernel_pmap_store;  /* the kernel's pmap (proc0) */
-struct pmap *const kernel_pmap_ptr = &kernel_map_store;
+struct pmap *const kernel_pmap_ptr = &kernel_pmap_store;
 
 static vaddr_t kernel_vm_end;  /* VA of last avail page ( end of kernel 
Address Space ) */
 
Index: stand/common/fileload.c
===================================================================
RCS file: /cvsroot/src/sys/arch/ia64/stand/common/fileload.c,v
retrieving revision 1.1
diff -u -r1.1 fileload.c
--- stand/common/fileload.c     7 Apr 2006 14:21:29 -0000       1.1
+++ stand/common/fileload.c     4 Feb 2009 14:34:00 -0000
@@ -34,7 +34,6 @@
 
 #include <lib/libsa/stand.h>
 #include <sys/param.h>
-#include <sys/lkm.h>
 #include <sys/queue.h>
 
 #include "bootstrap.h"
Index: stand/common/readdir.c
===================================================================
RCS file: /cvsroot/src/sys/arch/ia64/stand/common/readdir.c,v
retrieving revision 1.2
diff -u -r1.2 readdir.c
--- stand/common/readdir.c      2 Jul 2006 17:28:11 -0000       1.2
+++ stand/common/readdir.c      4 Feb 2009 14:34:00 -0000
@@ -42,7 +42,7 @@
        static struct dirent dir;               /* XXX not thread safe. eh ??? 
*/
        struct open_file *f = &files[fd];
 
-       if ((unsigned)fd >= SOPEN_MAX || !(f->f_flags & O_RDONLY)) {
+       if ((unsigned)fd >= SOPEN_MAX) {
                errno = EBADF;
                return (NULL);
        }
@@ -55,7 +55,6 @@
        errno = FS_READDIR(f, &dir); 
 
        if (errno)
-         printf("XXXdebugXXX: FS_READDIR returns NULL\n");
                return (NULL);
        return (&dir);
 }
Index: stand/ia64/ski/bootinfo.c
===================================================================
RCS file: /cvsroot/src/sys/arch/ia64/stand/ia64/ski/bootinfo.c,v
retrieving revision 1.2
diff -u -r1.2 bootinfo.c
--- stand/ia64/ski/bootinfo.c   22 Apr 2006 07:58:53 -0000      1.2
+++ stand/ia64/ski/bootinfo.c   4 Feb 2009 14:34:00 -0000
@@ -37,7 +37,6 @@
 #include <sys/boot_flag.h>
 #include <sys/exec_elf.h>
 #include <sys/lock.h>
-#include <sys/lkm.h>
 
 #include <machine/vmparam.h>
 #include <machine/elf_machdep.h>


Home | Main Index | Thread Index | Old Index