nyan
daa0f782b2
Set arch-pc98 env to true for pc98.
2003-06-08 03:11:16 +00:00
obrien
1b5ff95b09
Add ${AFLAGS} to 'as' invocation.
2003-06-07 17:42:26 +00:00
nyan
37d82464e9
MFi386: revisions 1.13 and 1.14.
2003-06-07 08:36:41 +00:00
nyan
d1f00a5d2c
MFi386: revision 1.30.
2003-06-07 08:23:42 +00:00
obrien
9af6eaa8ec
Don't use a C compiler to assemble a pure asm file.
2003-06-07 08:03:19 +00:00
kuriyama
a2c945daf3
Tweak make values and targets not to build kgzldr.o at
...
installation stage.
Reviewed by: bde
2003-06-06 13:49:51 +00:00
obrien
bfafa48e01
Don't use a C compiler to assemble a pure asm file.
2003-06-02 02:37:27 +00:00
obrien
bb80268e0a
Accpet '1'..'5' in place of F1..F5 for serial console users.
...
Reviewed by: Bruce M Simpson <bms@spc.org>
2003-06-01 20:41:04 +00:00
scottl
317c5e945e
Man, I'm not on the ball. 4th does not need to escape '\' chars. This
...
should make our beloved friend look less like he has a massive head wound.
2003-05-31 16:07:00 +00:00
scottl
049e6a81c8
Flag when ACPI has been disabled by the user so that sysinstall can do
...
something with it.
2003-05-31 11:19:11 +00:00
scottl
340f6115ce
Enable the new bootloader for i386 only. The new loader.rc is will only
...
be installed if an old one does not exist, i.e. only during install, not
during upgrades.
Approved by: re
2003-05-31 05:25:18 +00:00
scottl
0c3c12a82d
Add a new bootloader menu. Pull in screen.4th and frames.4th from the
...
examples directory to support it. This is installed only on i386 for
now. It will be enabled in a later commit.
Approved by: re
2003-05-30 09:29:24 +00:00
ru
ea78c05e0c
Fixed the markup and wording of the kern.ipc.nsfbufs tunable.
...
(It does not modify NSFBUFS, but just overrides it if set.)
Approved by: re (blanket)
2003-05-17 22:17:23 +00:00
peter
ee17e46a3e
Fix a bug in the AMD64 trampoline. I misunderstood the implicit
...
32->64 bit zero extend. This changes a movl to an orq.
Approved by: re (amd64 bits)
2003-05-17 00:30:51 +00:00
murray
f7f15a31f6
Add variables for missing network drivers.
...
PR: kern/51911
Submitted by: David Yeske <dyeske@yahoo.com>
Approved by: re
2003-05-16 04:31:00 +00:00
peter
f6f3e2ff8f
Fix lookup of module metadata on amd64 systems. While this is in
...
common code, the non-trivial part is #ifdef'ed and only executes when
loading amd64 kernels. The rest is trivial but needed for the the amd64
case. (Two variables changed from char ** to Elf_Addr).
Approved by: re (amd64 "low-risk" stuff)
2003-05-12 05:48:09 +00:00
peter
25e260ffe6
Revert leftover AMD64 disable-acpi-module stuff.
2003-05-12 04:57:05 +00:00
peter
8920847356
For amd64 kernels, repeat the 1GB mapping over the entire address space
...
instead of just at 0GB and 1GB marks. This gives more flexibility for
the choice of KERNBASE.
Approved by: re (amd64 stuff)
2003-05-11 22:42:29 +00:00
obrien
7a6200ec6a
Since we insist on loading the POS ACPI by default, give the poor user
...
instructions on the main help screen for disabling it.
2003-05-05 07:33:12 +00:00
murray
2db1c04684
Fix a bunch of typos and grammatical errors.
...
PR: docs/40234
Submitted by: Chris Pepper <pepper@rockefeller.edu> (mostly)
MFC After: 3 days
2003-05-04 08:23:24 +00:00
kato
96e3b93fb0
IPLware support. The `IPLware' program assumes boot menu program
...
begins with the `jmp 0x2d4' near jump.
2003-05-02 09:33:12 +00:00
nyan
b0d2808219
Fix to build pc98 boot loader after support amd64.
2003-05-01 13:17:06 +00:00
peter
0c9f89b00a
Commit a missed change to keep in sync with the MI elf loader.
2003-05-01 04:39:22 +00:00
peter
a6e9962a69
Argh. This was broken by the last-minute elf32/elf64/"elf kernel" changes.
2003-05-01 04:31:33 +00:00
peter
7d490762a8
Nuke; repocopied to elf32_freebsd.c where it lives on.
2003-05-01 03:57:19 +00:00
peter
fb5fbfc750
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
peter
f95bce2b05
We use i386 boot code on AMD64.
2003-04-30 22:13:36 +00:00
peter
47e12d9503
ACPI will always be present on AMD64 - it will never be an autodetect
...
module.
2003-04-30 22:02:39 +00:00
peter
a2b7260f7d
Also look for an "elf64 kernel" (for sparc64) and "elf32 kernel" (for
...
powerpc) when building metadata.
2003-04-30 22:00:16 +00:00
njl
32b2682952
Support functions for the new ACPI import.
...
* AcpiOsDerivePciId(): finds a bus number, given the slot/func and the
acpi parse tree.
* AcpiOsPredefinedOverride(): use the sysctl hw.acpi.os_name to
override the value for _OS.
Ideas from: takawata, jhb
Reviewed by: takawata, marcel
Tested on: i386, ia64
2003-04-29 18:50:34 +00:00
phk
f946ac1010
Cut&Paste considered far too easy:
...
Don't include <sys/disklabel.h>
2003-04-16 21:09:41 +00:00
peter
32adcc8053
Zap some a.out leftovers
2003-04-06 06:28:08 +00:00
phk
84d6b36e30
Libdisk does not need to include <sys/diskslice.h> any more.
...
Move the remaining bits of <sys/diskslice.h> to <i386/include/bootinfo.h>
Move i386/pc98 specific bits from <sys/reboot.h> to
<i386/include/bootinfo.h> as well.
Adjust includes in sys/boot accordingly.
2003-04-04 16:35:16 +00:00
marcel
578041b6e2
Remove `#ifndef lint' left behind after previous change.
2003-04-04 02:12:56 +00:00
obrien
96d4258af9
Use __FBSDID rather than rcsid[].
2003-04-03 21:36:33 +00:00
ru
edbba08415
FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catch
...
up with this further by excluding /modules from the (default)
kern.module_path.
2003-03-11 12:09:25 +00:00
trhodes
84a9b654ee
Fix a few spelling errors.
...
Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> via -doc.
2003-03-07 03:24:38 +00:00
seanc
c80816df35
Document the tunable kern.ipc.nsfbufs in help.common and loader.8. Small
...
nearby grammar fixup that saves a line of display while in the loader
(help set tunables), but reuses the line for kern.ipc.nsfbufs.
Approved by: roam
2003-03-04 23:46:29 +00:00
ru
f9c71e51d9
FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catch
...
up with this further by excluding /modules from the (default)
kern.module_path.
2003-03-03 22:53:35 +00:00
ru
41871f8dff
Fixed sys/boot/pc98/boot2/Makefile to use kern.mk and
...
get rid of bsd.kern.mk completely.
OK'ed by: bde
2003-03-02 21:18:40 +00:00
harti
5b5b5483d3
Add two loader tuneables that allow one to change the maximum number of
...
queue items that can be allocated by netgraph and the number of free queue
items that are cached on a private list.
Netgraph places an upper limit on the number of queue items it may allocate.
When there is a large number of netgraph messages travelling through the
system (100k/sec and more) there is a high probability, that messages get
queued at the nodes and netgraph runs out of queue items. In this case the data
flow through netgraph gets blocked. The tuneable for the number of free
items lets one trade memory for performance.
The tunables are also available as read-only sysctls.
PR: kern/47393
Reviewed by: julian
Approved by: jake (mentor)
2003-03-02 18:04:10 +00:00
marcel
b945595d09
Speed up debugging in the context of unexpected traps by printing
...
the address of the image base of the loader. Given cr.iip, we can
use the symbol table to figure out what function caused the trap.
2003-03-01 05:18:28 +00:00
marcel
b6d91ca893
Paranoia: Don't use the length of the option string alone to
...
determine whether we have command line options. We expect a
valid string pointer as well.
2003-03-01 05:13:59 +00:00
marcel
73e39b57bc
Increase the block size for reading and writing from 8KB to 1MB and
...
introduce a preprocessor define for it. The larger block size
significantly speeds up the loading of the kernel.
Submitted by: Arun Sharma <arun.sharma@intel.com>
2003-02-26 09:13:05 +00:00
obrien
de20c1280d
Consistently use NOFORTH to control the usage of ficl.
2003-02-26 06:18:52 +00:00
ru
d9d1f68412
Fixed CLEANFILES.
...
Submitted by: cron
2003-02-25 15:41:49 +00:00
obrien
53638b8b18
Only apply rev 1.10 (which hacks around the i386 boot2 being too big for
...
both ufs1 and ufs2 support) on i386.
2003-02-25 00:10:20 +00:00
mckusick
500c3a3ca8
Revert to old (broken for over 1.5Tb filesystems) version of cgbase
...
so that boot loader once again will fit.
Sponsored by: DARPA & NAI Labs.
2003-02-24 04:57:01 +00:00
marcel
a46312efdc
Simplify page alignment.
2003-02-20 06:47:54 +00:00
benno
fd450daf8f
Don't bother to build ficl if NOFORTH is defined.
2003-02-13 04:35:04 +00:00