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
__main.c
arp.c
assert.c
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
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
ether.c
ext2fs.c Add ext2fs support to the loader. 2000-04-29 20:44:07 +00:00
fstat.c
getopt.c
gets.c
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
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
pager.c
printf.c
qdivrem.c
quad.h
random.c
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
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
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
zalloc_malloc.c
zalloc_mem.h
zalloc_protos.h
zalloc.c
zipfs.c Add a readdir function to the loader fsops vector, and implement the 2000-04-29 20:47:10 +00:00