1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys
Peter Wemm 48a0b96a50 Enable the i386 loader to load and run an amd64 kernel. If this puts
things over floppy size limits, I can exclude it for release builds or
something like that.  Most of the changes are to get the load_elf.c file
into a seperate elf32_ or elf64_ namespace so that you can have two
ELF loaders present at once.  Note that for 64 bit kernels, it actually
starts up the kernel already in 64 bit mode with paging enabled.  This
is really easy because we have a known minimum feature set.

Of note is that for amd64, we have to pass in the bios int 15 0xe821
memory map because once in long mode, you absolutely cannot make VM86
calls.  amd64 does not use 'struct bootinfo' at all.  It is a pure loader
metadata startup, just like sparc64 and powerpc.  Much of the
infrastructure to support this was adapted from sparc64.
2003-05-01 03:56:30 +00:00
..
alpha Range check the syscall number before looking it up in the syscallnames[] 2003-04-30 17:59:27 +00:00
amd64 Slight reorg and added AMD64 support. A couple of the MODINFOMD_* values 2003-05-01 03:31:18 +00:00
arm Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
boot Enable the i386 loader to load and run an amd64 kernel. If this puts 2003-05-01 03:56:30 +00:00
cam Use %j instead of %q in printf to unbreak sparc64. 2003-04-30 13:36:51 +00:00
coda
compat Initialize tbuf in newstat_copyout() too. 2003-04-29 17:03:22 +00:00
conf Sync up with the files in the hammer branch in the p4 tree to get basic 2003-05-01 02:59:24 +00:00
contrib Resolve conflicts. 2003-04-29 19:11:00 +00:00
crypto
ddb
dev Fix printf warning caused by recent CAM change. 2003-05-01 03:38:04 +00:00
fs Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
geom Don't emulate a MBR by handling the MBR::type attribute. It is 2003-05-01 01:51:28 +00:00
gnu
i4b
i386 Hack to enable getting two different elf32 and elf64 loaders in the 2003-05-01 03:46:12 +00:00
ia64 Kill MID_MACHINE, its a.out specific, the only platform that supports 2003-04-30 23:16:33 +00:00
isa Create a 'legacy' node for AMD64 as well as i386. While we'll never 2003-04-30 21:41:41 +00:00
isofs/cd9660
kern Lock an update to a vm_object's ref_count. 2003-05-01 03:51:05 +00:00
libkern Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
modules Support functions for the new ACPI import. 2003-04-29 18:50:34 +00:00
net Fix some easy, global, lint warnings. In most cases, this means 2003-04-30 12:57:40 +00:00
netatalk
netatm
netgraph Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
netinet Add definitions for IN6ADDR_LINKLOCAL_ALLMDNS_INIT and INADDR_ALLMDNS_GROUP. 2003-04-29 22:03:46 +00:00
netinet6 Add definitions for IN6ADDR_LINKLOCAL_ALLMDNS_INIT and INADDR_ALLMDNS_GROUP. 2003-04-29 22:03:46 +00:00
netipsec
netipx
netkey
netnatm
netncp
netsmb
nfs
nfsclient Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
nfsserver
opencrypto
pc98 Deprecate machine/limits.h in favor of new sys/limits.h. 2003-04-29 13:36:06 +00:00
pccard
pci Add module data and version to the atm_subr and reference this info from the 2003-04-29 08:07:44 +00:00
posix4
powerpc Back out last commits. The elf64/elf32 kernel name thing was more pain 2003-05-01 03:33:28 +00:00
rpc
security
sparc64 Back out last commits. The elf64/elf32 kernel name thing was more pain 2003-05-01 03:33:28 +00:00
sys Slight reorg and added AMD64 support. A couple of the MODINFOMD_* values 2003-05-01 03:31:18 +00:00
tools
ufs Fix some easy, global, lint warnings. In most cases, this means 2003-04-30 12:57:40 +00:00
vm - Update the vm_object locking in vm_object_reference(). 2003-05-01 03:29:20 +00:00
Makefile