summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa
AgeCommit message (Collapse)Author
2005-04-30Ensure we save the %ebx register returned from the BIOS call, not justTom Cosgrove
%bx. Fixes problem introduced in gidt.S r1.29, which could lead to an incomplete memory map, and "too little memory available; running in degraded mode", as found by Roy Morris rmorris (at) internetsecure (dot) com. (Thanks for the report, and for testing the fix.) Bump version on boot, cdboot and pxeboot accordingly. ok weingart@
2005-04-25[OpenBSD]Tom Cosgrove
Make boot code use real mode with 64K segments instead of 1M segments. Improves stability with some disk controller cards. Also explicitly state operand size on some moves. Bump version on boot, cdboot and pxeboot accordingly. "just get them in" beck@ ok weingart@
2005-03-13Only use bangpxe calling on PXE 2.1 and above. Makes no difference onTom Cosgrove
current-spec PXE systems, but allows some older ones (I tested 0.98 and 0.99) to get a bit further. ok weingart@; "please get it in" deraadt@.
2005-03-12KNFTom Cosgrove
2005-03-12On return from real mode, reload the GDT using a 16-bit pointer ratherTom Cosgrove
than a 32-bit value. Found by Tim Fletcher <tim (at) parrswood (dot) manchester (dot) sch (dot) uk> using Etherboot; thanks to Tim and the Etherboot developers who narrowed this down. Also bump the pxeboot version to 1.01. ok weingart@, "go ahead" deraadt@
2004-09-20addres -> addressMiod Vallat
2004-08-21Fix typo in commentTom Cosgrove
2004-08-17Calculate time_t correctly from (day, month, year): 1/1/70 is 0, not 1.Tom Cosgrove
ok deraadt@
2004-06-26Initial stab at CPU identification code for i386 boot programs. AddedTom Cosgrove
to i386 libsa, but not yet used by boot etc. ok weingart@
2004-06-23Enter cdboot, a CD-specific second-stage bootrap.Tom Cosgrove
Testing krw@ and todd@, thanks. assistance, testing and ok weingart@
2004-04-07Allow pxeboot to compile with gcc3.Tom Cosgrove
Found by various (thanks!), fix originally from naddy@. Prodded by espie@. ok deraadt@
2004-03-19Enter pxeboot, derived from the NetBSD implementation. InitiallyTom Cosgrove
intended to support network installs using bsd.rd over TFTP. Thanks to the many who tested, including Diana Eichert. ok deraadt@
2004-03-11If apm_connect() fails, don't try to pass the bios_apminfo_t structureTom Cosgrove
to the kernel, since it won't have been filled in, and since we can't make APM calls if we don't connect (per spec). Also tidy up the error message, to make it clear that it's an APM error. Problem found, and fix tested, by jmc@ ok millert@, weingart@
2004-03-09Spacing and KNF. Partly from Joris Vink <nimadeus at pandora dot be>.Tom Cosgrove
ok henning@, deraadt@
2004-02-10Make debug_init void debug_init(void), like nearly all of the otherTom Cosgrove
functions that machdep() calls. ok deraadt@
2004-01-13Allow building w/o -traditional. OK weingart@ and mickey@Todd C. Miller
2004-01-09spelling; jjy2+@pitt.eduTheo de Raadt
2003-12-16a bit more shrinking. do not bother printing the drive bus interfaces,Theo de Raadt
saves more space.
2003-12-16shorten terminal baud rate change stringsTheo de Raadt
2003-11-27gcc3 wants "m" operands to be lvalues.Marc Espie
okay toby, mickey.
2003-11-27Bad #undef, spotted by gcc3.Marc Espie
okay toby, mickey.
2003-11-03spelling fixes (in the comments)David Krause
2003-10-23- delay reading the disklabel for floppies until after we're sure it'sFederico G. Schwindt
the boot device. this fixes a delay (sometimes very long) if the bios correctly reports a floppy but it's unplugged. - bump version. original idea from mdw@, tested by nick@, toby@ ok.
2003-09-20move the checks after we fixed the hd info.Federico G. Schwindt
from Thorsten Glaser <tg-v2003 at netcologne dot de> via toby@.
2003-09-19- some bios return a valid geometry for inexistent hd's so beforeFederico G. Schwindt
getting the geometry check the number of attached drives from the bios area at 40:75. - bump version. from toby@. we want people to test this, specially those with ghost drives showing up.
2003-09-19add debug info around #41; toby@ ok.Federico G. Schwindt
2003-09-18- move checks earlier to catch inexistent devices before testing for edd.Federico G. Schwindt
- bump version. toby@ ok.
2003-09-18- pass the correct device to bios_getdisklabel().Federico G. Schwindt
- don't blindly return but check whether bios_getdisklabel() failed and act according. this fixes (at some extent) booting from a floppy if it wasn't inserted during floppyprobe(). toby@ ok.
2003-09-16document extension support bitmap definition; requested by deraadt@.Federico G. Schwindt
toby@ ok.
2003-09-11handle case where bios EDD support only supports a subset; from fgsch,Theo de Raadt
ok toby, and now tested for lots of machines
2003-08-11ansification and knf and protosTheo de Raadt
2003-08-08let us call COMPAT_UFS deadTheo de Raadt
2003-07-07Fix for PR 3177.Tobias Weingartner
Diff from Otto Moerbeek <otto at drijf.net>, testing by same. Looked over, and other (outline testing) by me.
2003-06-27Fix hang in EDD detection routine.Tobias Weingartner
2003-06-04fix some 3/4 for tobyTheo de Raadt
2003-06-03three four killsMichael Shalayeff
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-01strcpy/strcat/sprintf removal in all bootblocks. various testing byTheo de Raadt
various people. outside of some messy things in src/gnu, only one thing in the main tree now violates this rule: bind
2003-05-31Unpeeing as pointed out by Dries Schellekens.Tobias Weingartner
ok miod@
2003-05-31First lba support in /boot. Not complete lba boot support, but it's theTobias Weingartner
first step on the way there. Ok deraadt@, espie@, todd@, and others.
2003-04-17there is no reason to keep both around. just renameMichael Shalayeff
2003-04-17i386 ELF bootloader. developed with weingart@Dale Rahn
2003-01-17allow setting com baudrate up to 115200; req and testing by Sourabh Ladha ↵Michael Shalayeff
<ladha@mail.eecis.udel.edu>
2002-06-20Fix 4GB memory probing and other memory probing issues.Tobias Weingartner
Outstanding issue is with Compaq 16MB detection problem. ok deraadt@, and various people from the 'net.
2002-05-03no guarantee that ptrdiff_t is int and not long, so cast.Marc Espie
ok mickey@
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-15fix the possible 4G overflow issuesMichael Shalayeff
2001-09-17genassym changesTheo de Raadt
2001-09-11remove acd references; millert@ ok.Federico G. Schwindt