summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* Change the following environment variables to kernel options:brian2004-07-083-29/+1
| | | | | | | | | | | | | bootp -> BOOTP bootp.nfsroot -> BOOTP_NFSROOT bootp.nfsv3 -> BOOTP_NFSV3 bootp.compat -> BOOTP_COMPAT bootp.wired_to -> BOOTP_WIRED_TO - i.e. back out the previous commit. It's already possible to pxeboot(8) with a GENERIC kernel. Pointed out by: dwmalone
* Change the following kernel options to environment variables:brian2004-07-083-1/+29
| | | | | | | | | | | | | | | | | | BOOTP -> bootp BOOTP_NFSROOT -> bootp.nfsroot BOOTP_NFSV3 -> bootp.nfsv3 BOOTP_COMPAT -> bootp.compat BOOTP_WIRED_TO -> bootp.wired_to This lets you PXE boot with a GENERIC kernel by putting this sort of thing in loader.conf: bootp="YES" bootp.nfsroot="YES" bootp.nfsv3="YES" bootp.wired_to="bge1" or even setting the variables manually from the OK prompt.
* Use a linker script for the loader. This avoids issues withgrehan2004-07-084-4/+284
| | | | | | command-line options, such as misaligning the data segment. Exposed by the limited PearPC OFW ELF loader, but a good thing in general.
* Remove cache flush, 256Mb 1:1 BAT mapping, and BAT clearing. This doesn'tgrehan2004-07-082-90/+0
| | | | | | | work on a G5 (no BAT registers) or on PearPC (dBAT3 used for mapping the framebuffer and BATs not re-inited on OpenFirmware calls). It also hid a number of bugs.
* All hell breaks loose if the loader image is released beforegrehan2004-07-081-1/+3
| | | | | | | jumping to the kernel. Another bug exposed by removing the 1:1 BAT mapping. Sparc64 doesn't do this either. Compile tested on: panther (sparc64). Code built, but not used, on sparc64.
* Correctly calculate size of memory to be mapped when copying. Removalgrehan2004-07-081-1/+3
| | | | | | | of the 256Mb 1:1 BAT mapping exposed this as copying into memory that hadn't been claimed from OpenFirmware. compiled-tested on: panther (sparc64). Code built, but not used, on sparc64
* Extract entry point from elf header before releasing the heap.grehan2004-07-081-1/+3
| | | | | | | This caused a data-miss trap when the BAT init code was removed on PPC. Compile tested on: panther (sparc64). Code built, but not used, on sparc64.
* mdoc(7) fixes.ru2004-07-071-2/+2
|
* Consistently use __inline instead of __inline__ as the former is an empty macrostefanf2004-07-041-1/+1
| | | | in <sys/cdefs.h> for compilers without support for inline.
* Fixed what appeared to be a hard sentence break.ru2004-07-021-2/+2
|
* When building a kernel or the loader, let the hostname be overriddenps2004-07-011-1/+1
|
* Remove the entry for configuring pcm0 mixer channels.josef2004-06-241-1/+0
| | | | This is accomplished via device.hints now.
* Throw out pfsync and pflog, the modules were removedbrueffer2004-06-221-2/+0
|
* Update the copyright to use a 3 clause BSD license rather than one thatjhb2004-06-221-10/+24
| | | | | | is less clear about allowing redistribution of modified copies. Requested by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com
* Remove a bogus increment of %di when scanning the list of loader paths.jhb2004-06-221-1/+0
| | | | | | | %di will already point to the character after the nul char when the 'repnz scasb' terminates. Submitted by: Tom Cosgrove tom dot cosgrove at arches-consulting dot com
* Document the possibility of setting default values forjosef2004-06-201-0/+1
| | | | mixer channels via boot loader.
* Save a couple of bytes for the SIO case.phk2004-06-171-4/+2
|
* Fix another beak.phk2004-06-171-1/+1
| | | | Seen by: pjd
* Unspam sys/boot, the dev_t commit should not have touched these.phk2004-06-166-8/+8
| | | | Spotted by: peter
* My new keyboard can't spell.phk2004-06-161-1/+1
|
* Do the dreaded s/dev_t/struct cdev */phk2004-06-166-8/+8
| | | | Bump __FreeBSD_version accordingly.
* Premptively fix GCC3.4 issue: add break; after empty default: clauses.phk2004-06-162-0/+3
| | | | | PR: 65493 Submitted by: Pawel Worach <sajd@telia.com>
* Merge boot0 and boot0sio so they behave the same.phk2004-06-111-42/+17
|
* Some embedded platforms have no keyboard controller. Give up waitingphk2004-06-021-4/+11
| | | | for it to react after a timeout.
* Use the correct location of the EBDA for searching for the RSDP.njl2004-05-251-7/+9
| | | | | | The EBDA is the 1 KB area addressed by the 16 bit pointer at 0x40E. Pointed out by: robert.moore AT intel.com
* Markup fixes.ru2004-05-162-11/+9
|
* Try harder not to compile anything in sys/boot for arm.cognet2004-05-161-2/+0
| | | | I wonder how buildworld ever worked for me...
* Back out last revision that unnecessarily changed valid assemblerru2004-05-146-1606/+1601
| | | | | | line comments and damaged the CVS history. Prompted by: bde, jhb
* Partly back out last revision that unnecessarily changed validru2004-05-141-236/+236
| | | | | | assembler line comments and damaged the CVS history. Prompted by: bde, jhb
* Do not attempt to build anything in sys/boot for arm.cognet2004-05-141-0/+2
|
* Fix a potential stack buffer overflow on systems whose ACPI OEMIDjdp2004-05-141-2/+2
| | | | | | fills its field (6 characters). In that case the OEMID is not null-terminated, and the sprintf that was used would copy up to the next null byte, which could be pretty far away.
* Convert block comments into C-style that is understood by cpp(1).ru2004-04-291-204/+210
| | | | | | | Keep line comments in assembler style. A few lines that match the '^[[:space:]]+#' regexp still need to be fixed, somehow. OK'ed by: bde, jhb
* MFi386: revisions from 1.15 to 1.17.nyan2004-04-291-8/+2
|
* MFi386: revisions from 1.16 to 1.18.nyan2004-04-291-8/+2
|
* Thanks to David's patches, we can now simplify these makefilesru2004-04-285-18/+14
| | | | | | further, and just use PROG directly (without FILES). Suggested by: bde
* Properly merge boot0sio.s and boot0.s into boot0.S.ru2004-04-281-1/+2
|
* Switch to using C99 comments in assembler preprocessed with cpp(1).ru2004-04-281-414/+414
|
* - Properly merge boot0sio.s and boot0.s into boot0.S.ru2004-04-283-666/+167
| | | | | | | | | | boot0sio.s was repo-copied to boot0.S. - Rename boot0ext.s to boot0ext.S, to stay consistent with other preprocessed asm files around here, and for better portability. Repocopied by: joe
* Temporary precaution measure until repocopy requests areru2004-04-281-5/+7
| | | | processed: don't forget to clean generated .s sources.
* After talking to Bruce Evans and reading more standards specs,ru2004-04-286-1601/+1606
| | | | | | | | | switch to using C99-style comments everywhere in preprocessed assembler. The reason is that lines starting with the regexp '^[[:space:]]#' are treated as preprocessing directives, and while it seems to work now with GCC, it's not necessarily has to work. Use C99 comments `//' for the trailing comments to save whitespace.
* MFi386: Use C (and CPP) style comments for assembler-with-cppru2004-04-282-290/+290
| | | | sources, for lines that start with a comment.
* Use C (and CPP) style comments for assembler-with-cpp sources,ru2004-04-282-290/+290
| | | | for lines that start with a comment.
* Use C (and CPP) style comments for assembler-with-cpp sources,ru2004-04-281-94/+96
| | | | for lines that start with a comment.
* - Use C (and CPP) style comments for assembler-with-cpp sources,ru2004-04-282-346/+347
| | | | | for lines that start with a comment. - Preserve as(1) style comments for the rest.
* Removed now redundant CLEANFILES assignments.ru2004-04-275-6/+0
| | | | Not read enough of my patch by: obrien ;)
* Change from '#' to "//" comment character to allow CPP preprocessing.phk2004-04-275-1295/+500
| | | | | | | | Merge boot0.s and boot0sio.s into boot0_512.s controlled by "#ifdef SIO". Add Makefile magic to generate boot0.s and boot0sio.s from boot0_512.s. The compile boot0 and boot0sio have unchanged MD5 checksums.
* Use a more compact syntax for passing the "binary" options to 'ld'.obrien2004-04-256-6/+6
|
* Simplify the building of our i386 'binary' boot components by directlyobrien2004-04-256-35/+12
| | | | | | producing them using 'ld' options rather than post-processing with 'objcopy'. Idea by: Ryan Sommers <ryans@gamersimpact.com>
* Fix a last second typo in 'vi' that caused a problem.obrien2004-04-202-4/+4
|
* White space style cleanup.obrien2004-04-205-109/+109
|
OpenPOWER on IntegriCloud