David E. O'Brien
0ed36875f4
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
Alexander Kabaev
721d5bfe2e
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
Stefan Farfeleder
ea8b0ab337
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
Stefan Farfeleder
0eca8743b8
Fix typos in a comment.
2005-03-06 13:53:05 +00:00
Joerg Wunsch
a5f50ef9e4
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 Strobl
9e2b417bfd
Remove unused variables.
2005-03-02 20:12:27 +00:00
Dag-Erling Smørgrav
b32a1f4405
Document the new default init_path.
...
Reminded by: ru
MFC after: 2 weeks
2005-02-17 11:14:45 +00:00
Dag-Erling Smørgrav
f3f4baf099
Add /rescue/init to the default init_path, before /stand/sysinstall.
...
MFC after: 2 weeks
2005-02-17 10:00:10 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Dag-Erling Smørgrav
d04928f224
Remove type 0x4 (FAT12 <32MB) to make room for type 0x7 (NTFS).
2005-02-08 20:43:04 +00:00
Robert Watson
98d13cb3ff
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
Peter Edwards
5c33db12dc
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
Warner Losh
6a0fd84b50
Start each of the license/copyright comments with /*-
2005-01-05 22:16:58 +00:00
Warner Losh
48ffcc8658
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
Ruslan Ermilov
cbbdcac72a
NOFORTH -> NO_FORTH
2004-12-21 12:32:15 +00:00
Ruslan Ermilov
83c7ade90a
NOSHARED -> NO_SHARED
2004-12-21 09:59:45 +00:00
Ruslan Ermilov
e653b48c80
Start the dreaded NOFOO -> NO_FOO conversion.
...
OK'ed by: core
2004-12-21 08:47:35 +00:00
Warner Losh
6550c6569b
The 'start' command processes loader.conf variables, not loader.rc.
...
Fix comment to match.
2004-12-06 05:30:31 +00:00
Scott Long
e522e6e988
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
Scott Long
05d0bf79ed
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
Scott Long
a63e88df60
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
Yoshihiro Takahashi
cafe28f16a
MFi386: revisions 1.77 and 1.78.
2004-11-29 11:55:14 +00:00
Yoshihiro Takahashi
028d40a592
MFi386: revision 1.38.
2004-11-29 11:54:42 +00:00
Ruslan Ermilov
ddfd677a57
Pick up loader.rc from its old home.
2004-11-29 09:31:04 +00:00
Scott Long
700f9eef96
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 Moolenaar
f3beed66fa
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 Moolenaar
b81a1f533f
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
John Baldwin
4e38f13b5b
- 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
John Baldwin
8b8d44db27
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 Moolenaar
21321a3432
This file was repocopied to src/sys/boot/ia64/efi.
2004-11-23 18:55:24 +00:00
Marcel Moolenaar
7cb1eb1b27
Unhook the loader subdirectory. The ia64 EFI loader is now build
...
under ../ia64/efi.
2004-11-23 06:04:51 +00:00
Marcel Moolenaar
25cd518860
Hookup the efi subdirectory.
2004-11-23 06:03:03 +00:00
Marcel Moolenaar
9bf99aadf9
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 Moolenaar
5b1f181a89
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 Moolenaar
2ba0042660
Remove struct ia64_itir and use a plain old uint64_t instead.
2004-11-21 21:40:08 +00:00
Ruslan Ermilov
fccc3fcfc2
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
Ruslan Ermilov
e631c74b1d
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 Wemm
cf0c439f9d
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
Kirill Ponomarev
fe368b40bf
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
Giorgos Keramidas
550b156641
Clean up the comments, rewording, adding missing punctuation
...
and other minor nits.
Approved by: jhb
2004-11-06 06:13:13 +00:00
Brooks Davis
923a1dc3d1
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
Ruslan Ermilov
a35d88931c
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
Ruslan Ermilov
39ebd90532
Collapse several adjacent .if's into .if/.elif.
2004-10-24 12:32:41 +00:00
Yoshihiro Takahashi
222be03974
ELF64 support is not needed on pc98.
2004-10-24 12:18:11 +00:00
Yoshihiro Takahashi
c25984c97c
MFi386: revision 1.4.
2004-10-24 12:16:18 +00:00
Yoshihiro Takahashi
3ad0b93804
MFi386: Set bi_basemem and bi_extmem variables.
...
Respect RB_MULTIPLE flag.
2004-10-24 12:15:07 +00:00
Yoshihiro Takahashi
8c3c8ed197
MFi386: Add support for preloading ELF relocatable object format modules.
2004-10-24 12:14:05 +00:00
Hidetoshi Shimokawa
6ee737aae3
Respect RB_MULTIPLE flag.
2004-10-22 14:57:28 +00:00
Hidetoshi Shimokawa
167938e1e7
- Add FireWire subclass and OHCI interface.
...
- Add some PCI BIOS function calls.
(find_devclass, read_config, write_config)
2004-10-22 14:56:23 +00:00
Warner Losh
99e085d9a8
document host_start_mem.
...
# feel free to wordsmith.
Suggested by: ru@
2004-10-15 06:59:07 +00:00