summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/biosdev.c
AgeCommit message (Collapse)Author
1998-02-24Changes/updates to /boot stuff. More to come.Tobias Weingartner
Fixes many divide by zero and pointer bugs.
1997-11-30big diskinfo changes from toby@Michael Shalayeff
1997-11-05don't try #21 for a: onlyMichael Shalayeff
1997-11-01don't try function #21 for floppiesMichael Shalayeff
1997-10-28do not replace unit number in bootdev. please talk to me about this.Theo de Raadt
this makes it so that when booting sd0 on a wd0/sd0/sd1 system the kernel doesn't get told we are booting from sd1 (ie. scsi, but it is hd1..).
1997-10-26we don't need that extra var (st)Michael Shalayeff
1997-10-25Fix disk probe. Get rid of EDD check, it goes haywire onTobias Weingartner
some machines. Thinkpad 760ED is one of them. IBM/MS extention, and IBM does not support it. Nice. Add some more debug statements for BIOS_DEBUG. Init EDD flags to "not supported" for now. Change 'machine memory' back to display the type of each range it displays. Testing by todd@ (thanks).
1997-10-24don't touch ed,dsMichael Shalayeff
1997-10-24fix cylinders in getdiskinfoMichael Shalayeff
get EDD fot hd* only more debug
1997-10-24Fix hang on disk probe.Tobias Weingartner
1997-10-23Better BIOS diskprobe. Cleanup and re-org by mickey.Tobias Weingartner
Fix bug in BIOS memprobe. Cleanup and re-org by mickey. Do checksum of HD devices.
1997-10-22newer, better stuff; some parts by toby@Michael Shalayeff
1997-10-18Copy in bios_diskinfo array from /boot space.Tobias Weingartner
Add length field for checksum to same. Start of making /boot deduce bsd dev_t for all BIOS drives.
1997-10-17Use BIOS to probe for memory map.Tobias Weingartner
Probe for BIOS supported disks. Use BIOS to get geometry for supported disks. All in preparation to passing the whole thing to the kernel.
1997-10-07better fix for floppy bootMichael Shalayeff
1997-09-24overflow can bite anyways, increment wordMichael Shalayeff
1997-09-17unsignedsMichael Shalayeff
1997-09-03Fix fake geo (again)Tobias Weingartner
1997-09-03Fix fake geoTobias Weingartner
1997-09-031st part of pretty "machine diskinfo" stuffTobias Weingartner
1997-09-02change biosdinfo() to return fail value. use fake geo, where neededMichael Shalayeff
1997-09-02Add "machine diskinfo" command. Needs work.Tobias Weingartner
1997-09-02provide two separate interfaces for bios errors mappings:\n error->msg, ↵Michael Shalayeff
error->errno
1997-08-29we have MBR struct and signature defined elsewhere nowMichael Shalayeff
1997-08-22put values into BIOS_vars so kernel will get 'em soonMichael Shalayeff
1997-08-21BIOS_regs in machdep.c, so they won't get lost w/o biosdev.cMichael Shalayeff
1997-08-12inline biosd_rwMichael Shalayeff
1997-08-12call BIOS inline (add struct EDD_cb into biosvar.h)Michael Shalayeff
1997-08-07grammar & spellingNiklas Hallqvist
1997-08-06fix hd major basing on disklabel d_type infoMichael Shalayeff
1997-08-04remember boot device geometryMichael Shalayeff
1997-07-21correct 'hd' device handlingMichael Shalayeff
search for DOSTYP_NETBSD in case there is no DOSTYP_OPENBSD in mbr
1997-07-18proper includesMichael Shalayeff
const allocate sapace to pass bios regs to/from call
1997-05-31<string.h> bye-byeMichael Shalayeff
1997-05-30EDD support functions, EDD detection code.Michael Shalayeff
com prototypes changes some indentation
1997-04-30solve the bounce buffer problem!Michael Shalayeff
1997-04-23Clean up disk reset codeTobias Weingartner
1997-04-23implement 'hd' device (i guess nobody will boot from 'rd')Michael Shalayeff
1997-04-20indentationMichael Shalayeff
1997-04-18Clean up error handling a little. There is a smallTobias Weingartner
problem with marginal disks. This code does not like them at all. I'm too frazzled right now to figure this out. This should give better error messages...
1997-04-18fix a bugMichael Shalayeff
1997-04-18no more 60k limit!Michael Shalayeff
no more explicit real<-->prot switching! fix 2.88 floppy drives..... kbd fixes coming soon! test it!
1997-04-17Fix error handling from bios & typo.Tobias Weingartner
1997-04-15pass bootdev to kernel...Michael Shalayeff
all the future devices have to copy it into global var... in the current state i can boot any kernel i have.... testers?
1997-04-15do bounce-buffering to avoid DMA overrunMichael Shalayeff
somebody, test it!
1997-04-09emulate bios calls. more debugging stuff. some fixes.Michael Shalayeff
1997-04-08use new device names: fd(0,a) -> fd0aMichael Shalayeff
1997-03-31commit all my mods to the last imported libsa stuff....Michael Shalayeff
including: - disklabel support; - better boot cmd line - smaller size (using some compilation switches ;) - no more relocations in /boot, it's loaded in the place; - better disk performance (maybe were already in there) - installboot -n does not require write perms for device - more debugs - missing parts in libsa (such as cd9660 and so) - i don't like 2 files for exec_i386 (sorry, toby, let's discuss maybe?) tricks and tails: - joined .text and .data (saves you a page) - prot mode switching still in biosboot (it's freezed for awhile) - biosdisk internals changed - biosdev is not passed propery to the kernel (i'll fix it soon) - sure i missed smth here to note (use the source, Luke!)
1997-03-31Initial /boot stuff (from Mickey)Tobias Weingartner