summaryrefslogtreecommitdiffstats
path: root/sys/boot
Commit message (Collapse)AuthorAgeFilesLines
* more sun4v fallout - missed addkmacy2006-10-091-0/+143
| | | | Approved by: rwatson (mentor)
* unbreak sparc64 loader buildkmacy2006-10-091-1/+0
| | | | | | | | re-add accidentally deleted asi value remove sun4v only header include Approved by: rwatson (mentor) Reviewed by: jmg
* add sun4v support to the sparc64 boot loaderkmacy2006-10-095-10/+1109
| | | | | | Approved by: rwatson (mentor) Reviewed by: jmg Tested by: kris, dwhite, and jmg
* - Update URL of Intel documentationpav2006-10-071-1/+1
| | | | | Submitted by: Rob <spamrefuse@yahoo.com> on freebsd-doc MFC after: 3 days
* - Fix a couple of improper uses of leal in the previous space savingjhb2006-10-051-5/+7
| | | | | | | | | | | | | | | commits. For some reason I thought the scale factor was a shift count rather than the multiplicand (that is, I thought leal (%eax,%edx,4) was going to generate %eax + %edx << 4 rather than %eax + %edx * 4). What I need is to multiply by 16 to convert a real-mode (seg, offset) tuple into a flat address. However, the max multiplicand for scaled/index addressing on i386 is 8, so go back to using a shl and an add. - Convert two more inter-register mov instructions where we don't need to preserve the source register to xchg instructions to keep our space savings. Tested by: Ian FREISLICH if at hetzner.co.za MFC after: 1 week
* Add module loading option for Intel High Definition Audio Controllerariff2006-10-011-0/+1
| | | | - snd_hda(4)
* Add snd_envy24ht and remove the snd_ak4* module.netchild2006-09-301-1/+2
|
* Fix WARNS=2 warnings.ru2006-09-291-0/+2
|
* Fix most of the WARNS=2 warnings.ru2006-09-294-6/+5
|
* Oops, add return values for the smap command function. We must have thejhb2006-09-291-1/+2
| | | | | | warnings set weird or something because gcc didn't warn about this at all. Submitted by: ru
* Tweak the code to handle intercepting BIOS calls to int 0x15 to shavejhb2006-09-281-17/+10
| | | | | | | | | | | | another 16 bytes off of BTX (and thus boot2): - Compare against the value of %eax that is saved on the stack instead of loading it into %eax (which requires saving the current %eax on the stack). - Use %ch to examine the keyboard flag state in the BIOS to see if Ctrl-Alt-Del is pressed instead of %al so we don't have to save %eax on the stack anymore. MFC after: 1 week
* Optimize the int 15/87 handler for space to shave another 16 bytes off ofjhb2006-09-281-31/+17
| | | | | | | | | | | | | | | | | BTX (and thus boot2): - Don't bother saving %eax, %ebx, or %ecx as it is not necessary. - Use a more compact sequence to load the base value out of a GDT entry by loading the contiguous low 24 bits into the upper 24 bits of %eax, loading the high 8 bits into %al, and using a ror to rotate the bits (2 mov's and a ror) rather than loading the pieces in smaller chunks (3 mov's and a shl). - Use movzwl + leal instead of movl + movw + shll + addl. - Use 'xchgl %eax,%foo' rather than 'movl %eax,%foo' for cases where it's ok to trash %eax. xchgl %eax, foo is a 1-byte opcode whereas the mov is a 2-byte opcode. - Use movzwl rather than xorl + movw. MFC after: 1 week
* Add an 'smap' command that dumps out the BIOS SMAP.jhb2006-09-282-0/+22
| | | | MFC after: 1 week
* Ignore a sub-topic match if it is inside the command description.jhb2006-09-281-0/+3
| | | | | | | Otherwise, merge-help can get confused by a command description that includes a word that starts with a capital S. MFC after: 1 week
* A couple of simple tweaks that trim BTX by 6 bytes. Since BTX isjhb2006-09-281-3/+2
| | | | | 16-byte aligned within boot2 however, this actually trims boot2 by 16 bytes.
* Add -march=i386 to fix amd64 build by generating the same coderu2006-09-282-2/+2
| | | | as i386 would do.
* Emulate moving cr0, cr2, cr3, or cr4 into any i386 general registerjhb2006-09-271-7/+19
| | | | | | | | rather than just emulating mov cr0, eax. This fixes some Compaq/HP BIOS with DMA (as the BIOS tried to read cr3 so it could translate addresses if paging was enabled). MFC after: 1 week
* Add mnt_noasync counter to better handle interleaved calls to nmount(),tegge2006-09-261-1/+1
| | | | | | sync() and sync_fsync() without losing MNT_ASYNC. Add MNTK_ASYNC flag which is set only when MNT_ASYNC is set and mnt_noasync is zero, and check that flag instead of MNT_ASYNC before initiating async io.
* - Include <sys/reboot.h> to get the RB_* defines.ru2006-09-051-6/+4
| | | | | | | | - Make the PROBE_KEYBOARD option better resemble the -P option in boot2, i.e., if keyboard isn't present then boot with both RB_SERIAL and RB_MULTIPLE set. Reviewed by: jhb
* Make the default "init_path" value breakable, so it fits on theru2006-08-201-1/+1
| | | | | | screen's width, thus eliminating a groff(1) warning. Suggested by: marck
* Copy powerpc ficl files sysdep files (maybe we need a common one)imp2006-08-182-0/+533
|
* Build at91imp2006-08-181-1/+1
|
* Support compiling as part of worldimp2006-08-181-1/+1
|
* Wordsmithing on the ixgb(4) and mxge(4) descriptions.brueffer2006-08-181-2/+2
| | | | Suggested by: ru (ixgb)
* Add more modules, correct alphabetical order.brueffer2006-08-181-1/+3
|
* kern.ipc.nmbclusters is sysctl, not compile-time option. Change Dv to Va.marck2006-08-181-3/+3
| | | | | | | Touch .Dd. Pointed out by: ru MFC after: 1 week
* Remove references to NMBCLUSTERS which is obsoleted.marck2006-08-182-5/+3
| | | | | | PR: 100427 Approved by: maxim MFC after: 1 week
* MFp4: changes since .s -> .S rename. Use correct header for sizeimp2006-08-171-2/+17
|
* MFp4: First cut at making spi and/or sd card booting work, needs workimp2006-08-1619-119/+2940
|
* MFp4:imp2006-08-163-41/+23
| | | | | Tidy up a bit. Make sure that the burned image matches the downloaded one.
* MFp4:imp2006-08-163-48/+5
| | | | Simplify life a little for such a simple program.
* Several updates:brueffer2006-08-141-14/+21
| | | | | | | | - Added missing file system/network/sound module entries - Removed obsolete network module entries - Capitalized (Fast|Gigabit) Ethernet MFC after: 1 week
* MFp4: Integrate a boatload of bug fixes from p4. We're right on theimp2006-08-107-2/+705
| | | | | | | | | | | 8k boundary with this program still. text data bss dec hex filename 7925 4 4476 12405 3075 bootiic.out so we have like 293 bytes left before we have to play games. There may be ways to reduce that somewhat, but they start to be very board specific.
* MFp4:imp2006-08-101-6/+23
| | | | | | Reach over into the arm tree to grab some at91 definitions. Better warnings Lots of build tweaks
* MFp4: remove obsolete filesimp2006-08-102-109/+0
|
* MFp4:imp2006-08-103-2/+294
| | | | | Remove obsolete files in list Add spi flash reading routines
* MFp4: Numerous changes from p4 to try to improve tftp downloading,imp2006-08-102-242/+230
| | | | | reduce code footprint, etc. While some problems still remain, the reliability of tftp is much improved.
* MFp4: consolidate #include files down to lib.himp2006-08-104-69/+24
|
* MFp4: These will migrate to the boot specific directories because theyimp2006-08-102-633/+0
| | | | are too hard to share between the different boot loaders.
* MFp4: Make it clearer that the address passed to the eeprom routines isimp2006-08-101-8/+8
| | | | really an offset within the eeprom device, and not a IIC address.
* MFp4: Catchup with migration of some defines.imp2006-08-101-317/+1
|
* MFp4: Tweaks for our board.imp2006-08-101-1/+1
|
* MFp4: Increase character timeout to 10. Make it a #define for easierimp2006-08-101-8/+9
| | | | | | | changes in the future. This helps with getting started and to overcome the really sucky level of granuality this timeout has in getc. A timeout of 1 means 'wait until top of next second' rather than 'wait for at least a second'.
* Don't need to special case arm here anymoreimp2006-08-101-2/+0
|
* Add a dummy makefile to keep build happyimp2006-08-101-0/+5
|
* Commit the results of the typo hunt by Darren Pilgrim.yar2006-08-042-2/+2
| | | | | | | | | | This change affects documentation and comments only, no real code involved. PR: misc/101245 Submitted by: Darren Pilgrim <darren pilgrim bitfreak org> Tested by: md5(1) MFC after: 1 week
* Add snd_emu10kx_loadache2006-07-261-0/+1
|
* Add an entry for the stge(4) module.yongari2006-07-251-1/+1
| | | | | While I'm here remove a stale wx(4) entry which was removed 4 years, 9 months ago.
* Don't descend into ${MACHINE} on the arm platforms.imp2006-06-181-0/+2
|
* Increment the disk block offset after writing, not before. Thisiedowse2006-05-311-3/+3
| | | | | | | | | | fixes filesystem corruption when nextboot.conf is located after cylinder 1023. The bug appears to have been introduced at the time bd_read was copied to create bd_write. PR: bin/98005 Reported by: yar MFC after: 1 week
OpenPOWER on IntegriCloud