ru
0cfa4cdcee
Allow BOOT_BOOT0_COMCONSOLE_SPEED to be derived from BOOT_COMCONSOLE_SPEED
...
at compile time.
2005-04-25 17:41:35 +00:00
wollman
2533aea84b
Pass the hostname we got from DHCP to the kernel so that machines can
...
share a read-only NFS root.
2005-04-17 21:38:22 +00:00
njl
1c81578707
Extend a local buffer to prevent an overflow of the XSDT address.
...
Submitted by: Joerg Sonnenberger
Obtained from: DragonflyBSD
MFC after: 1 day
2005-04-16 17:38:24 +00:00
nyan
ec22942771
MFi386: revision 1.20.
2005-04-14 14:12:54 +00:00
stefanf
11a8cb6afc
Fix 'implicit int' instance.
2005-04-09 14:07:13 +00:00
imp
a74f000bcd
Fix buidling of boot blocks for pc98 with new links.
...
Submitted by: nyan@
2005-04-03 04:58:15 +00:00
obrien
1d0c1369d7
Ensure GCC does not use FP registers in integer code.
...
I think all we really need is -fno-sse2.
I really don't like cluttering up the compiler invocation,
but this bigger hammer will fix reported problems for now.
2005-03-15 18:43:36 +00:00
kan
70c2e15160
Allow kernels loaded by pxeboot, which was compiled with LOADER_TFTP_SUPPORT,
...
to stll be able to mount NFS root as prescribed by DCHP configuration. Since
pxeboot is using TFTP to get to the files, pxeboot can not rely on NFS to
provide it a root directory hande as a side effect. pxeboot has to make RPC
mount call itself.
2005-03-12 21:26:53 +00:00
stefanf
53520b1be0
Don't try to use 'typedef struct foo' if just 'struct foo' makes more sense
...
and works on all compilers. This also removes the need for
__CC_SUPPORTS_FORWARD_REFERENCE_CONSTRUCT in <sys/cdefs.h>.
OK'ed by: marcel, dfr
2005-03-07 15:38:37 +00:00
stefanf
6f3297a743
Fix typos in a comment.
2005-03-06 13:53:05 +00:00
joerg
40a3a9ed33
netchild's mega-patch to isolate compiler dependencies into a central
...
place.
This moves the dependency on GCC's and other compiler's features into
the central sys/cdefs.h file, while the individual source files can
then refer to #ifdef __COMPILER_FEATURE_FOO where they by now used to
refer to #if __GNUC__ > 3.1415 && __BARC__ <= 42.
By now, GCC and ICC (the Intel compiler) have been actively tested on
IA32 platforms by netchild. Extension to other compilers is supposed
to be possible, of course.
Submitted by: netchild
Reviewed by: various developers on arch@, some time ago
2005-03-02 21:33:29 +00:00
marius
616b179b74
Remove unused variables.
2005-03-02 20:12:27 +00:00
des
7c556ec59a
Document the new default init_path.
...
Reminded by: ru
MFC after: 2 weeks
2005-02-17 11:14:45 +00:00
des
dcfb6d1736
Add /rescue/init to the default init_path, before /stand/sysinstall.
...
MFC after: 2 weeks
2005-02-17 10:00:10 +00:00
ru
d65df7068b
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
des
20e9061242
Remove type 0x4 (FAT12 <32MB) to make room for type 0x7 (NTFS).
2005-02-08 20:43:04 +00:00
rwatson
645352c666
Insert an explicit McAfee license, as we use a stock two-clause BSD
...
license rather than the slightly custom licence in ufsread.c.
2005-01-30 14:58:00 +00:00
peadar
cdb144243d
Only update the boot sector when there is a valid drive number provided.
...
(After squeezing a few more bytes out of boot0)
Discussed With: jhb, julian
PR: 66248
Submitted By: Hans Petter Selasky
MFC After: 1 week
2005-01-09 23:30:35 +00:00
imp
c14153c7ef
Start each of the license/copyright comments with /*-
2005-01-05 22:16:58 +00:00
imp
b697aa5e5d
Remove obsolete note about the boot loader not being ready for stable.
...
It has been in stable for at least 5 years now.
2005-01-05 22:16:10 +00:00
ru
0eb226fe21
NOFORTH -> NO_FORTH
2004-12-21 12:32:15 +00:00
ru
3a8a991d77
NOSHARED -> NO_SHARED
2004-12-21 09:59:45 +00:00
ru
54d390266a
Start the dreaded NOFOO -> NO_FOO conversion.
...
OK'ed by: core
2004-12-21 08:47:35 +00:00
imp
a597df2380
The 'start' command processes loader.conf variables, not loader.rc.
...
Fix comment to match.
2004-12-06 05:30:31 +00:00
scottl
2f7ffe6998
Fix a bunch of stack leaks. These were theoretically harmless, except that
...
they would leave enough elements on the stack that if you escaped to the
loader prompt and then typed 'setenv', it would pull in all of the leaked
junk and cause an exception in the environment. There still seems to be
3 leaked elements, but they don't appear to be coming from this file.
2004-12-01 07:17:57 +00:00
scottl
49ea89ef2d
Remove the last vestiges of the userconfig option. None of this actually
...
did anything, so this commit should be considered a NO-OP.
2004-12-01 04:59:33 +00:00
scottl
b3b082e764
Instead of just not defining a bunch of words when TESTMAIN is set, provide
...
stubs that at least handle the stack correctly. This makes it much easier to
experiment with loader scripts from userland.
2004-11-30 11:35:30 +00:00
nyan
d1e644e836
MFi386: revisions 1.77 and 1.78.
2004-11-29 11:55:14 +00:00
nyan
01afb35761
MFi386: revision 1.38.
2004-11-29 11:54:42 +00:00
ru
2eb64295bb
Pick up loader.rc from its old home.
2004-11-29 09:31:04 +00:00
scottl
669bb9f6b1
Disable the beastie menu. It offends some and annoys everyone else, and I'm
...
frankly tired of the controversy. When people ask me why FreeBSD isn't user-
friendly, I'll tell them that I tried. RIP.
2004-11-29 01:32:10 +00:00
marcel
d99aa35752
o Introduce efimd_va2pa() to translate addresses in efi_copy{in|out}()
...
and efi_readin(). This removes MD code from copy.c.
o Don't unconditionally add pal.S to SRCS. It's specific to ia64.
2004-11-28 00:30:22 +00:00
marcel
716f6cd618
Add efimd.c. This file contains MD code used by the EFI library. While
...
changing the Makefile, fail the creation of loader.efi when there are
unresolved symbols in loader.sym. This avoids silently creating a
faulty EFI binary.
2004-11-28 00:26:11 +00:00
jhb
6247e0ec90
- If the COMSPEED is set to 0, then don't try to initialize the serial port
...
and assume that the BIOS has set it up for us. This allows folks with a
serial-aware BIOS to set the BIOS to speeds above 9600 and allow boot0 to
just use the existing settings.
- Purge some gratuitous cpp comments as per style(9).
Submitted by: Danny Braniss danny at cs dot huji dot ac dot il (1)
MFC after: 1 month
2004-11-24 15:39:04 +00:00
jhb
9051c7b4ea
Fix comments for serial I/O function prototypes that were broken in the
...
assembler to cpp(1) comment conversions. This allows btx to compile again
when BTX_SERIAL is defined.
Reported by: Danny Braniss danny at cs dot huji dot ac dot il
MFC after: 1 month
2004-11-24 14:54:33 +00:00
marcel
c4817eceb5
This file was repocopied to src/sys/boot/ia64/efi.
2004-11-23 18:55:24 +00:00
marcel
68db9fc017
Unhook the loader subdirectory. The ia64 EFI loader is now build
...
under ../ia64/efi.
2004-11-23 06:04:51 +00:00
marcel
1a8f885774
Hookup the efi subdirectory.
2004-11-23 06:03:03 +00:00
marcel
b7be724347
This file was repocopied from src/sys/boot/efi/loader.
...
Updated for the new build location.
2004-11-23 06:02:03 +00:00
marcel
d0f24bdf41
Visit the efi subdirectory before we visit the machine-specific
...
subdirectory so that the library built there can be used by the
machine specific boot code.
2004-11-23 05:52:00 +00:00
marcel
adf3e42ed2
Remove struct ia64_itir and use a plain old uint64_t instead.
2004-11-21 21:40:08 +00:00
ru
d1ef5236ed
There's no reason for "read" and "echo" commands to not
...
appear in the online command list.
2004-11-13 17:04:55 +00:00
ru
f4a76ed7e7
Pass the "?" command output through the pager.
...
(This doesn't quite work as this command is overridden by Forth,
and some Forth commands are appended to the output.)
2004-11-12 13:27:49 +00:00
peter
4e0b18efc3
Remove a pre-tier-1 kernel compatability helper. This means a 6.x loader
...
won't boot a pre-5.1 development amd64 kernel. That's no big loss though.
2004-11-08 23:59:44 +00:00
krion
d097c81400
Document "loader_color" variable.
...
PR: conf/73396
Submitted by: Aleksander Fafula <alex at fafula dot com>
Approved by: scottl
2004-11-07 17:01:08 +00:00
keramida
8158fb28d2
Clean up the comments, rewording, adding missing punctuation
...
and other minor nits.
Approved by: jhb
2004-11-06 06:13:13 +00:00
brooks
5a3b643f8d
Add a loader menu option to set hint.atkbd.0.flags=0x1 which allows USB
...
keyboards to work if no PS/2 keyboard is attached. The position in the
menu was chosen to avoid moving option 6 (loader prompt). This should
be a no-op on non-i386/amd64 machines.
2004-10-30 13:45:13 +00:00
ru
1edab47bcf
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
ru
28fac72534
Collapse several adjacent .if's into .if/.elif.
2004-10-24 12:32:41 +00:00
nyan
f2a73b899f
ELF64 support is not needed on pc98.
2004-10-24 12:18:11 +00:00