freebsd-dev/lib/libstand
Peter Wemm c536ef83f0 Fix the real problem that broke the Alpha loader this last week. It
was not the fault of the module code, nor FICL.  The malloc code requires
sbrk() to return addresses that were at least 16 byte aligned.  If the
Alpha loader happened to be 8 byte but not 16 byte aligned in length, then
you would get a zfree() panic at startup.

Incidently, this affected the i386 loader as well, and explains why
the static heap changed things and why jlemon had trouble when the bss
was not ending at a multiple of 8 bytes.

My fix is to 16 byte align it on all arches, even though the x86 version
only required 8 byte alignment (struct MemNode is smaller there).  We could
page align it if we wanted to be paranoid, but it isn't presently necessary.
2000-05-12 22:43:20 +00:00
..
alpha We compile expressly on the alpha with -mno-fp-regs - so do not use them 2000-05-12 21:48:54 +00:00
i386 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
__main.c
arp.c
assert.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bcd.c
bootp.c
bootp.h
bootparam.c
bootparam.h
bswap.c
cd9660.c Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00
close.c
closeall.c
dev_net.c Add a new field to the devsw structure; dv_print, to print all valid units 1998-10-31 02:48:29 +00:00
dev_net.h
dev.c
dosfs.c Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00
dosfs.h
environment.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ether.c More egcs warning fixes: 1999-04-25 22:29:30 +00:00
ext2fs.c Add ext2fs support to the loader. 2000-04-29 20:44:07 +00:00
fstat.c
getopt.c
gets.c Add a new field to the devsw structure; dv_print, to print all valid units 1998-10-31 02:48:29 +00:00
globals.c
gzipfs.c Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00
if_ether.h
in_cksum.c
inet_ntoa.c Use unsigned chars instead of signed chars when extracting bits of the 1998-09-23 21:35:40 +00:00
ioctl.c
iodesc.h
libstand.3 Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00
lseek.c
Makefile Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00
net.c Break out sendudp and readudp from net.c. This is for PXE, so it 2000-04-08 01:18:04 +00:00
net.h
netif.c
netif.h
nfs.c Add readdir support to the NFS filesystem in libstand. 2000-05-01 15:03:52 +00:00
nfsv2.h Fix comment. 2000-05-06 04:50:09 +00:00
nullfs.c Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00
open.c * Enable old UFS compatibility code for booting from Digital Unix formatted 1998-09-26 10:48:50 +00:00
pager.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
printf.c Tidy up some loose ends. nullfs_read/write were returning the wrong value. 1999-12-27 08:45:14 +00:00
qdivrem.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
quad.h $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
random.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rarp.c
read.c
readdir.c Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00
rpc.c
rpc.h
rpcv2.h
saioctl.h
sbrk.c Fix the real problem that broke the Alpha loader this last week. It 2000-05-12 22:43:20 +00:00
stand.h Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00
stat.c
strcasecmp.c Add strcasecmp source file required for dosfs operation. 1998-10-07 13:50:17 +00:00
strdup.c
strerror.c
strtol.c
tftp.c Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00
tftp.h
twiddle.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
udp.c Break out sendudp and readudp from net.c. This is for PXE, so it 2000-04-08 01:18:04 +00:00
ufs.c Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00
write.c
zalloc_defs.h $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
zalloc_malloc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
zalloc_mem.h $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
zalloc_protos.h $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
zalloc.c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
zipfs.c Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00