freebsd-src/sys
Bruce Evans b5d89ca8ad Load the kernel symbol table in the boot loader and not at compile time.
(Boot with the -D flag if you want symbols.)

Make it easier to extend `struct bootinfo' without losing either forwards
or backwards compatibility.

ddb_aout.c:
Get the symbol table from wherever the loader put it.
Nuke db_symtab[SYMTAB_SPACE].

boot.c:
Enable loading of symbols.  Align them on a page boundary.  Add printfs
about the symbol table sizes.
Pass the memory sizes to the kernel.
Fix initialization of `unit' (it got moved out of the loop).
Fix adding the bss size (it got moved inside an ifdef).
Initialize serial port when RB_SERIAL is toggled on.
Fix comments.
Clean up formatting of recently added code.

io.c:
Clean up formatting of recently added code.

netboot/main.c, machdep.c, wd.c:
Change names of bootinfo fields.

LINT:
Nuke SYMTAB_SPACE.
Fix comment about DODUMP.

Makefile.i386:
Nuke use of dbsym.
Exclude gcc symbols from kernel unless compiling with -g.
Remove unused macro.
Fix comments and formatting.

genassym.c:
Generate defines for some new bootinfo fields.  Change names of old ones.

locore.s:
Copy only the valid part of the `struct bootinfo' passed by the loader.
Reserve space for symbol table, if any.

machdep.c:
Check the memory sizes passed by the loader, if any.  Don't use them yet.

bootinfo.h:
Add a size field so that we can resolve some mismatches between the loader
bootinfo and the kernel boot info.  The version number is not so good for
this because of historical botches and because it's harder to maintain.
Add memory size and symbol table fields.  Change the names of everything.

Hacks to save a few bytes:

asm.S, boot.c, boot2.S:
Replace `ouraddr' by `(BOOTSEG << 4)'.

boot.c:
Don't statically initialize `loadflags' to 0.  Disable the "REDUNDANT"
code that skips the BIOS variables.  Eliminate `total'.  Combine some
more printfs.

boot.h, disk.c, io.c, table.c:
Move all statically initialzed data to table.c.

io.c:
Don't put the A20 gate bits in a variable.
1995-01-25 21:40:47 +00:00
..
alpha/include Second round in syscons update: 1995-01-20 08:35:32 +00:00
amd64 Load the kernel symbol table in the boot loader and not at compile time. 1995-01-25 21:40:47 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Load the kernel symbol table in the boot loader and not at compile time. 1995-01-25 21:40:47 +00:00
ddb Load the kernel symbol table in the boot loader and not at compile time. 1995-01-25 21:40:47 +00:00
dev Changed address of the game controller to 0x201 (was 0x200) 1995-01-25 20:11:51 +00:00
fs Roll in my changes to make the cd9660 code understand the older 1995-01-16 17:03:29 +00:00
gnu aic7xxx.c: 1995-01-22 00:46:53 +00:00
i386 Load the kernel symbol table in the boot loader and not at compile time. 1995-01-25 21:40:47 +00:00
isa Changed address of the game controller to 0x201 (was 0x200) 1995-01-25 20:11:51 +00:00
isofs/cd9660 Roll in my changes to make the cd9660 code understand the older 1995-01-16 17:03:29 +00:00
kern Fixed a variety of deadlock and panic bugs, removed the bypass code, and 1995-01-24 10:00:46 +00:00
libkern Always build libkern_p.a. `NOPROFILE' should only control user libraries. 1995-01-10 01:57:56 +00:00
miscfs Initialize map start hint to vm_map_find()...not doing so will cause it 1995-01-05 03:59:38 +00:00
modules Checking new lkm structure.. 1995-01-12 13:57:51 +00:00
msdosfs These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
net Declare `struct mbuf' with the correct scope to avoid lots of warnings 1995-01-24 04:47:33 +00:00
netccitt Update calls to rtalloc1() to match. 1994-12-13 22:32:17 +00:00
netinet Extended the previous change to cover the non-options case, too. 1995-01-24 08:03:22 +00:00
netiso Update calls to rtalloc1(). 1994-12-13 22:33:05 +00:00
netns Include <sys/systm.h> to get inlines for spl*() so that LINT kernel links. 1994-11-15 14:26:31 +00:00
nfs Fix conversion to/from nfs v2 time in handling microseconds. 1995-01-10 13:11:42 +00:00
nfsclient Added two missing brelse() calls. 1995-01-10 13:06:51 +00:00
nfsserver These changes embody the support of the fully coherent merged VM buffer cache, 1995-01-09 16:06:02 +00:00
pci Change the string returned in the aic7870 motherboard probe case. Change 1995-01-22 00:47:50 +00:00
powerpc/include Added $Id$ 1994-08-02 07:55:43 +00:00
rpc Use the header files that are compatible with the code just moved over 1994-08-07 18:41:02 +00:00
scsi 1. Reject obviously broken CDB command lengths 1995-01-24 12:04:56 +00:00
sys ioctls for the joystick driver 1995-01-25 20:41:06 +00:00
tools Added $Id$ 1994-08-02 07:55:43 +00:00
ufs Removed some unused/obsolete code. 1995-01-24 10:02:00 +00:00
vm Don't attempt to clean device_pager backed objects at terminate time. 1995-01-25 20:36:29 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00