diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2000-11-08 16:01:27 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2000-11-08 16:01:27 +0000 |
commit | fd438f5ca0b94ed3d88d133b522e0103dee486b8 (patch) | |
tree | 6d0a5d2c22adef30dd9a9bb3ce9d92ff9ebc024a /sys/arch/alpha/stand/loadfile.c | |
parent | 979a51167c72e38f0c094528a264a7fccca6d1c5 (diff) |
Merge in big portions of the improvements NetBSD did to their alpha port.
Highlights: UVM, PMAP_NEW, bus_dma (only on some buses for now), new hardware
support, possiblity for ELF, etc, etc. Too much to mention.
This is still work in progress. video consoles might be broken, otherwise
we have basically the same functionality as before plus more.
Diffstat (limited to 'sys/arch/alpha/stand/loadfile.c')
-rw-r--r-- | sys/arch/alpha/stand/loadfile.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/alpha/stand/loadfile.c b/sys/arch/alpha/stand/loadfile.c index 261148f9f45..4d8bb2656d3 100644 --- a/sys/arch/alpha/stand/loadfile.c +++ b/sys/arch/alpha/stand/loadfile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: loadfile.c,v 1.7 1998/09/04 17:03:24 millert Exp $ */ +/* $OpenBSD: loadfile.c,v 1.8 2000/11/08 16:01:24 art Exp $ */ /* $NetBSD: loadfile.c,v 1.3 1997/04/06 08:40:59 cgd Exp $ */ /* @@ -65,7 +65,8 @@ static int elf_exec __P((int, Elf_Ehdr *, u_int64_t *)); #endif int loadfile __P((char *, u_int64_t *)); -vm_offset_t ffp_save, ptbr_save, esym; +paddr_t ffp_save, ptbr_save; +vaddr_t ssym, esym; /* * Open 'filename', read in program and return the entry point or -1 if error. @@ -218,6 +219,7 @@ coff_exec(fd, coff, entryp) ffp_save += symhdr.estrMax; printf("+%d]", symhdr.estrMax); esym = ((ffp_save + sizeof(int) - 1) & ~(sizeof(int) - 1)); + ssym = (vaddr_t)symtab; } ffp_save = ALPHA_K0SEG_TO_PHYS((ffp_save + PGOFSET & ~PGOFSET)) >> |