Remove more Alpha bits from the boot code including fixing several

stale comments.
This commit is contained in:
jhb 2006-05-12 04:09:53 +00:00
parent 42320347d0
commit 6ecdc538b9
11 changed files with 8 additions and 30 deletions

View File

@ -20,10 +20,4 @@ SUBDIR+= ofw
# Pick the machine-dependent subdir based on the target architecture.
SUBDIR+= ${MACHINE:S/amd64/i386/}
# Build ARC / AlphaBIOS executable on the Alpha
# (this is a WIP (work in progress)).
#.if ${MACHINE_ARCH} == "alpha"
#SUBDIR+= arc
#.endif
.include <bsd.subdir.mk>

View File

@ -11,8 +11,7 @@ SRCS+= load_elf64.c load_elf64_obj.c reloc_elf64.c
SRCS+= load_elf32.c load_elf32_obj.c reloc_elf32.c
.elif ${MACHINE_ARCH} == "powerpc"
SRCS+= load_elf32.c reloc_elf32.c
.elif ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "ia64" || \
${MACHINE_ARCH} == "alpha"
.elif ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "ia64"
SRCS+= load_elf64.c reloc_elf64.c
.endif

View File

@ -266,7 +266,7 @@ __elfN(loadimage)(struct preloaded_file *fp, elf_file_t ef, u_int64_t off)
off = - (off & 0xff000000u); /* i386 relocates after locore */
#endif
#else
off = 0; /* alpha is direct mapped for kernels */
off = 0; /* other archs use direct mapped kernels */
#endif
}
ef->off = off;

View File

@ -800,9 +800,6 @@ Does not work with
.It arch-i386
.Ic TRUE
if the architecture is IA32.
.It arch-alpha
.Ic TRUE
if the architecture is AXP.
.It FreeBSD_version
.Fx
version at compile time.

View File

@ -243,7 +243,7 @@ bi_copymodules(vm_offset_t addr)
}
/*
* Load the information expected by an alpha kernel.
* Load the information expected by the kernel.
*
* - The kernel environment is copied into kernel space.
* - Module metadata are formatted and placed in kernel space.

View File

@ -24,18 +24,6 @@
\
\ $FreeBSD$
s" arch-alpha" environment? [if] [if]
s" loader_version" environment? [if]
12 < [if]
.( Loader version 1.2+ required) cr
abort
[then]
[else]
.( Could not get loader version!) cr
abort
[then]
[then] [then]
s" arch-i386" environment? [if] [if]
s" loader_version" environment? [if]
11 < [if]

View File

@ -243,7 +243,7 @@ bi_copymodules(vm_offset_t addr)
}
/*
* Load the information expected by an alpha kernel.
* Load the information expected by the kernel.
*
* - The kernel environment is copied into kernel space.
* - Module metadata are formatted and placed in kernel space.

View File

@ -239,7 +239,7 @@ bi_copymodules(vm_offset_t addr)
}
/*
* Load the information expected by an alpha kernel.
* Load the information expected by the kernel.
*
* - The kernel environment is copied into kernel space.
* - Module metadata are formatted and placed in kernel space.

View File

@ -75,7 +75,7 @@ struct file_format *file_formats[] = {
/*
* Consoles
*
* We don't prototype these in libalpha.h because they require
* We don't prototype these in libski.h because they require
* data structures from bootstrap.h as well.
*/
extern struct console ski_console;

View File

@ -102,7 +102,7 @@ struct file_format *file_formats[] = {
/*
* Consoles
*
* We don't prototype these in libalpha.h because they require
* We don't prototype these in libofw.h because they require
* data structures from bootstrap.h as well.
*/
extern struct console ofwconsole;

View File

@ -102,7 +102,7 @@ struct file_format *file_formats[] = {
/*
* Consoles
*
* We don't prototype these in libalpha.h because they require
* We don't prototype these in libofw.h because they require
* data structures from bootstrap.h as well.
*/
extern struct console ofwconsole;