summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* Catch up with change to <machine/pte.h>.marcel2004-08-102-18/+16
|
* remove /boot/kernel from the default path.. There is already code thatjmg2004-08-062-2/+3
| | | | | | | | will prepend the current kernel booting... This prevents a problem of loading /boot/kernel's modules when a different kernel has no modules, but you left your module_load="YES" in loader.conf... Reviewed by: dcs (minus the help part)
* Move boot2 BSS zeroing into btx startup code out of boot1. boot1 does notkan2004-08-052-5/+9
| | | | | | | have clear idea on boot2 BSS size and leaves portion of it not zeroed out. btxcsu.s is in much better position for this job. Obtained from: DragonflyBSD (with minor adjustments)
* Add PowerPC bridge instruction flag to the assembler to help outgrehan2004-08-022-0/+6
| | | | with test code written in the loader.
* G5 support: handle the case where the OpenFirmware memory array usesgrehan2004-08-023-29/+90
| | | | 64 bits for the phys address, but only 32 for the virtual address.
* Fix new compiler error (s/bcopy/memcpy/).nyan2004-07-304-9/+9
|
* Compile boot2 with -fno-unit-at-a-time. GCCs aggressive optimizationkan2004-07-302-2/+6
| | | | breaks boot in spectacular ways otherwise.
* Clean up local memcpy implementation to take void * parameters.kan2004-07-302-6/+12
|
* Correct a documentation bug.ceri2004-07-291-1/+1
| | | | Approved by: jhb
* Correct typo in a comment.ceri2004-07-291-1/+1
| | | | Approved by: jhb
* Define our own memcpy here instead of relying on GCC to provide one.kan2004-07-282-8/+0
|
* o Support the REL32LSB relocation. It's in the ELF file from whichmarcel2004-07-202-18/+36
| | | | | | | | | we construct the EFI image. It doesn't seem to actually end up in the EFI image, AFAICT. o Replace .quad, .long and .short with data8, data4 and data2 resp. The former are gnuisms. o Redefine _start_plabel as a data16 with @iplt(_start) as its value. This is the preferred way to create user PLT entries.
* Fix the creation of EFI images that got broken by the import ofmarcel2004-07-204-6/+6
| | | | | | | | | binutils 2.15. The linker now creates a .rela.dyn section for dynamic relocations, while our script created a .rela section. Likewise, we copied the .rela section to the EFI image, but not the .rela.dyn section. The fix is to rename .rela to .rela.dyn in the linker script so that all relocations end up in the same section again. This we copy into the EFI image.
* Rename snd_pcm as sound.tanimura2004-07-161-1/+1
|
* 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
|
OpenPOWER on IntegriCloud