summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* Fixed to build after removing a.out suppot.nyan2002-09-241-6/+6
|
* use __packed.alfred2002-09-234-27/+27
|
* At great personal risk, add a __packed and __aligned(x) define thatpeter2002-09-232-2/+2
| | | | | | | | | | expand to __attribute__((packed)) and __attribute__((aligned(x))) respectively. Replace the handful of gcc-ism's that use __attribute__((aligned(16))) etc around the kernel with __aligned(16). There are over 400 __attribute__((packed)) to deal with, that can come later. I just want to use __packed in new code rather than add more gcc-ism's.
* MFi386: Remove a.out support.nyan2002-09-192-8/+2
|
* Remove -elf option.nyan2002-09-191-2/+0
|
* Initiate deorbit burn for the i386-only a.out related support. Moves arepeter2002-09-1716-93/+6
| | | | | | | | | | | | | | | under way to move the remnants of the a.out toolchain to ports. As the comment in src/Makefile said, this stuff is deprecated and one should not expect this to remain beyond 4.0-REL. It has already lasted WAY beyond that. Notable exceptions: gcc - I have not touched the a.out generation stuff there. ldd/ldconfig - still have some code to interface with a.out rtld. old as/ld/etc - I have not removed these yet, pending their move to ports. some includes - necessary for ldd/ldconfig for now. Tested on: i386 (extensively), alpha
* Parse hint.acpi.0.disabled correctly.iwasaki2002-09-051-2/+10
| | | | | | Now that hint.acpi.0.disabled="0" won't disable acpi as expected. Pointed-out by: bde
* Make SCSI_DELAY setable at boot time and runtime via thebrooks2002-09-021-0/+1
| | | | | | kern.cam.scsi_delay tunable/sysctl. Reviewed by: mdodd, njl
* Remove NOFORTH=yes, it seems to work now thanks to scottl.jake2002-09-021-1/+0
|
* Restore Rev. 1.40 (remove "Keyboard yes/no" printf).kan2002-09-012-2/+2
| | | | | | | GCC 3.2 overflows boot2 by 12 bytes, this patch brings it back within the boundaries, with 12 bytes available for future bloat. Approved by: obrien
* Make ficl work on sparc64. The assumption that int == long == void * isscottl2002-08-312-9/+9
| | | | | | | | | very pervasive in this code. This fixes a few of those assumptions and band-aids over some others. Tested on: ia32 alpha sparc64 Reviewed by: peter jake (in concept)
* Revert previous untested revision. The i386 loader consists of three parts:jhb2002-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the front is btxldr, in the middle is BTX itself (our mini-kernel), and then the 'client' (loader.bin) which is the actual loader itself. boot2 just executes a raw ELF or a.out binary with the only setup provided being that a bootinfo structure is passed on the stack. Now, since loader.bin is a BTX client, the loader needs to be able to locate a BTX kernel for the client to execute in the context. Thus, just like pxelder, btxldr uses the a.out header on the loader binary to find the BTX kernel stored in the loader and set it up. It does _not_ just reuse the BTX kernel that boot2 invoked it with. This is because it can't assume that it will _have_ a "spare" BTX kernel lying around. For example, when cdboot loads the loader there isn't an existing BTX kernel. In fact, cdboot will only work with an a.out loader as well since it also "borrows" the BTX kernel in the loader binary (which it finds by parsing the a.out header) just as pxeldr does. The only difference between cdboot and pxeldr is where they get /boot/loader from. If we wanted to make /boot/loader be an actual ELF binary we would need to change the following utilites to handle that (and they all have to be able to handle locating the BTX kernel inside of an ELF binary somehow): - btxldr - pxeldr - cdboot If we didn't want to require a flag day but make the transition smooth then we need to be able to support both a.out and ELF versions of /boot/loader which isn't exactly trivial since all three of these utilities are written in assembly. Pointy-hat to: peter
* s/hint.acpi.0.disable/hint.acpi.0.disabled/iwasaki2002-08-303-3/+3
| | | | | | | | | Fix device hints entry for disabling acpi(4). This also should fix the arbitration with apm(4) when both drivers are enabled. Note that your /boot/device.hints needs to be updated if you want to stop auto-loading acpi.ko or disable acpi(4).
* Try #2 at having /boot/loader default to ELF. Have pxeldr build itspeter2002-08-292-4/+19
| | | | | own a.out version of loader.bin rather than depend on ../loader/loader being a.out.
* Actually remove the stale a.out kld support. This is the stuff that waspeter2002-08-292-339/+0
| | | | never updated for the metadata infrastructure.
* Initiate deorbit burn of i386 a.out kld "support" in loader. Note thatpeter2002-08-296-14/+2
| | | | | | this was quite broken, it never was updated for metadata support. The a.out kld file support was never really used, as it wasn't necessary. You could always load elf kld's, even in an a.out kernel.
* Whitespace fix from last commit.trhodes2002-08-271-2/+4
|
* Fix some grammar errors in loader.conf.5trhodes2002-08-271-11/+11
| | | | | PR: 40237 Submitted by: Chris Pepper <pepper@rockefeller.edu>
* - Do not pretend to compile a kernel and remove the definitionrobert2002-08-211-2/+0
| | | | | | | of the _KERNEL macro. - Do not include <sys/pcpu.h> for no reason. Suggested by: jake
* - Define the macro _KERNEL to pretend we are compiling a kernel.robert2002-08-211-1/+2
| | | | | | | | | | This is required by recent changes to <sys/pcpu.h>, which uses the #error preprocessor directive to keep non-kernel applications from using it. _KERNEL is defined below the #include <stand.h>, because <stand.h> removes the definition of _KERNEL. - Move the inclusion of <sys/queue.h> above the inclusion of <sys/linker.h> to avoid syntax errors.
* Fix for stand-alone compilingscottl2002-08-211-0/+4
| | | | Reviewed by: mini
* Support for VIA VT8233 audio controller.orion2002-08-171-0/+1
|
* mdoc(7) police: Get rid of hard sentence breaks.ru2002-08-131-8/+15
|
* mdoc(7) police: revert unapproved changes in rev. 1.43, added missing markup ↵ru2002-08-131-3/+5
| | | | bits in rev. 1.45.
* Add help about hint.acpi.0.disable.iwasaki2002-08-091-0/+4
|
* Restore autoloading of ACPI module.obrien2002-08-092-0/+12
| | | | | Document the approved ways of disabling it. Submitted by: Daniel O'Connor <doconnor@gsoft.com.au>
* Don't auto load ACPI -- it causes trouble with my laptop and is TOTALLYobrien2002-08-091-8/+0
| | | | | undocumented how to control its loading and queries to freebsd-current go unanswered.
* Print out the strings in vers.o instead of hardcoding the loader banner.jake2002-08-041-2/+4
|
* Sample loader.conf lines for various MAC modules.rwatson2002-08-011-0/+12
|
* Stash various networking paramters in the environment for the kerneljake2002-07-311-0/+9
| | | | to pick up, ala pxe.
* Drop support for COPY, -c has been the default mode of install(1)ru2002-07-293-5/+5
| | | | | | for a long time now. Approved by: bde
* Turn on -Wformatpeter2002-07-201-1/+1
|
* Fix printf format errorspeter2002-07-201-3/+3
|
* Work around some nasty bugs on the [beta] Itanium2's E1000 UNDI driver.peter2002-07-201-5/+20
| | | | | | | | | | | | | | Bug#1: The GetStatus() function returns radically different pointers that do not match any packets we transmitted. I think it might be pointing to a copy of the packet or something. Since we do not transmit more than one packet at a time, just wait for "anything". Bug#2: The Receive() function takes a pointer and a length. However, it either ignores the length or otherwise does bad things and writes outside of ptr[0] through ptr[len-1]. This is bad and causes massive stack corruption for us since we are receiving packets into small buffers on the stack. Instead, Receive() into a large enough buffer and bcopy the data to the requested area.
* Disable loader ufs support. It causes the loader to crash on the Itanium2peter2002-07-202-2/+2
| | | | | box that I have. We have no EFI disk drivers yet anyway (maybe that is the problem).
* Fix printf format errorspeter2002-07-202-4/+4
|
* Remove boot2 temporarily.nyan2002-07-181-1/+1
|
* Major rework of how we copy data into kernel space.benno2002-07-186-22/+36
| | | | | We now talk to the memory and mmu instances directly rather than using the OpenFirmware "claim" method.
* Don't imply that setting the boot_ variables to "NO" will disable them.mp2002-07-161-6/+8
| | | | MFC after: 3 days
* Change include order.nyan2002-07-161-1/+1
|
* Use present tense in all the verbs, when describing loader's startup.keramida2002-07-151-2/+2
| | | | Most of them are not in a future tense already.
* The .Nm bootloadercharnier2002-07-141-5/+10
|
* The .Nm set of commandscharnier2002-07-141-3/+5
|
* The .Nmcharnier2002-07-141-3/+6
|
* Add support for passing metadata.benno2002-07-105-46/+660
|
* Resolve conflicts arising from the ACPI CA 20020611 import.iwasaki2002-07-091-2/+1
|
* Enable netboot support by default, since it can now coexist with disk andjake2002-07-071-3/+3
| | | | cdrom support. This avoids having to distribute separate loaders.
* Change help documentation for bootfile and module_path to reflectmp2002-07-071-6/+8
| | | | | | | | the actual code. Both use a ";" (not a ",") to delimit entries. PR: 39679 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net> MFC after: 3 days
* Make building with ficl work. Unfortunately booting with it doesn't.jake2002-07-072-5/+10
|
* Build ficl on sparc64 fwiw. It doesn't work.jake2002-07-071-2/+0
|
OpenPOWER on IntegriCloud