NetBSD/sys/arch/alpha/stand/common
nathanw 3fe600dd5c Experimentation reveals that the implementation of GET_ENV on at least
some systems chokes if the buffer is not 8-byte aligned. GCC only aligns
character arrays to 4-byte boundaries by default, so it's possible to get
unlucky and die in the boot blocks with a "kernel stack not valid halt".

Avoid the problem by using a local, aligned buffer as the argument to GET_ENV,
and copying the result into the caller's buffer.

Should fix PRs port-alpha/17682 and port-alpha/17717.
CVS ----------------------------------------------------------------------
2002-07-30 20:36:42 +00:00
..
bbinfo.h
blkdev.c Add support for booting off RAIDframe RAID1 mirrors. 2000-09-26 05:13:36 +00:00
blkdev.h move the boot/disk.* code to common/blkdev.*, and gut it. The previous 1999-04-02 03:17:28 +00:00
boot.c bcopy -> memcpy, bzero -> memset 2001-07-22 15:17:30 +00:00
booted_dev.c Backout my libsa changes. 1999-11-13 21:33:12 +00:00
bootxx.c Backout my libsa changes. 1999-11-13 21:33:12 +00:00
checksize.sh
common.h don't need private `imb' inline anymore. 1999-11-30 22:32:08 +00:00
OSFpal.c bcopy -> memcpy, bzero -> memset 2001-07-22 15:17:30 +00:00
panic_putstr.c add a common putstr() function which just puts()'s the chars in 1999-04-02 03:23:49 +00:00
prom_disp.S
prom_swpal.S
prom.c Experimentation reveals that the implementation of GET_ENV on at least 2002-07-30 20:36:42 +00:00
putstr.c add a common putstr() function which just puts()'s the chars in 1999-04-02 03:23:49 +00:00
putulong.c add a gross putulong() function which can be useful for debugging. 1999-08-18 20:00:27 +00:00
start.S add support for 'standalone programs', like kernels but not the kernel. 1999-04-11 03:36:21 +00:00