1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00
freebsd/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
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
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 $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
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