#
410a658a |
| 21-Feb-2011 |
jakllsch <jakllsch@NetBSD.org> |
Rework previous commit. Return non-zero instead of turning off BIOSDISK_INT13EXT. BIOSDISK_INT13EXT also enables LBA access mechanisms that we really want to be using if at all possible.
|
#
937d3ce3 |
| 21-Feb-2011 |
dyoung <dyoung@NetBSD.org> |
biosdisk_getextinfo() can fail. If it does fail in set_geometry(), clear the flag BIOSDISK_INT13EXT so that a caller such as read_gpt() will not try to rely on the gibberish in the biosdisk_extinfo.
|
#
0b61932b |
| 30-Dec-2010 |
jakllsch <jakllsch@NetBSD.org> |
Make this actually build with DISK_DEBUG.
|
#
8e2d0824 |
| 25-Dec-2010 |
jakllsch <jakllsch@NetBSD.org> |
Use printf format macros for long longs.
|
#
88846082 |
| 24-Dec-2010 |
jakllsch <jakllsch@NetBSD.org> |
Sprinkle daddr_t. Adjust DISK_DEBUG printf formats to match.
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
061923aa |
| 18-Nov-2006 |
erh <erh@NetBSD.org> |
Add casts so this works with DISK_DEBUG defined.
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
f10ef234 |
| 29-Jun-2005 |
junyoung <junyoung@NetBSD.org> |
Massive renames for consistency: biosdiskreset -> biosdisk_reset biosread -> biosdisk_read get_diskinfo -> biosdisk_getinfo int13_extension -> biosdisk_int13ext biosextread -> biosdisk_extread
Massive renames for consistency: biosdiskreset -> biosdisk_reset biosread -> biosdisk_read get_diskinfo -> biosdisk_getinfo int13_extension -> biosdisk_int13ext biosextread -> biosdisk_extread int13_getextinfo -> biosdisk_getextinfo struct biosdisk_ext13info -> biosdisk_extinfo BIOSDISK_EXT13 -> BIOSDISK_INT13EXT BIOSDISK_EXT13INFO_V{2,3} -> BIOSDISK_EXTINFO_V{2,3} EXT13_* -> EXTINFO_*
show more ...
|
#
beeb6c87 |
| 29-Jun-2005 |
junyoung <junyoung@NetBSD.org> |
get_diskinfo(): Return status code in bits [31:24] of %eax. 0 for success, otherwise failure.
|
#
c53f251e |
| 22-Jun-2005 |
junyoung <junyoung@NetBSD.org> |
Add support for cd9660 file system to the i386 BIOS bootloader.
|
#
7afdc17e |
| 13-Jun-2005 |
junyoung <junyoung@NetBSD.org> |
ANSI, KNF, kill trailing spaces, and cosmetic changes.
|
#
b13abba3 |
| 23-Aug-2004 |
junyoung <junyoung@NetBSD.org> |
Include libi386.h for function prototypes.
|
#
74010475 |
| 25-Jun-2003 |
thorpej <thorpej@NetBSD.org> |
Add a way to force (at compile time) use of int13 extensions.
|
#
fd18f392 |
| 16-Apr-2003 |
dsl <dsl@NetBSD.org> |
Use daddr_t for disk block numbers, Set size of extended disk info structure in the C code
|
#
42614ed3 |
| 02-Apr-2003 |
fvdl <fvdl@NetBSD.org> |
Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate t
Add support for UFS2. UFS2 is an enhanced FFS, adding support for 64 bit block pointers, extended attribute storage, and a few other things.
This commit does not yet include the code to manipulate the extended storage (for e.g. ACLs), this will be done later.
Originally written by Kirk McKusick and Network Associates Laboratories for FreeBSD.
show more ...
|
#
53d3dabb |
| 07-Feb-2003 |
dsl <dsl@NetBSD.org> |
Use on-stack buffer to check for 2.88MB floppy, malloc() hasn't been loaded when this is called. Clearly the information is actually available from the bios. (Approved by christos)
|
#
81acacd7 |
| 01-Feb-2003 |
dsl <dsl@NetBSD.org> |
Change all .S files to use .code16 and .code32 Support 32bit addresses >64k as valid on bios calls. Move stack for dosboot and biosboot to >64 so stack doesn't hit data. Use disk sector number passed
Change all .S files to use .code16 and .code32 Support 32bit addresses >64k as valid on bios calls. Move stack for dosboot and biosboot to >64 so stack doesn't hit data. Use disk sector number passed by mbr code to select default partition (the mbr code doesn't do this yet). NB only biosboot and dosboot have been tested so far. (changes approved by christos and fvdl)
show more ...
|
#
6227201b |
| 04-Dec-2002 |
jdolecek <jdolecek@NetBSD.org> |
If booting from floppy in 2.88MB drive, actually test if it's possible to read sector 18, and fallback to 1.44MB drive geometry if that fails. This allows to boot from 1.44MB floppy disk in 2.88MB dr
If booting from floppy in 2.88MB drive, actually test if it's possible to read sector 18, and fallback to 1.44MB drive geometry if that fails. This allows to boot from 1.44MB floppy disk in 2.88MB drive. Tested with 2.88MB drive in IBM PS/2 model 95 donated by 'Yokotashi' <lhc at kanal ucw cz> and Pavel Cahyna <pavel.cahyna at st ms mff cuni cz> Bump biosboot version.
Fixes PR kern/3418 by Keith Moore.
Change okayed by Frank van den Linden.
show more ...
|
#
e57ba8d6 |
| 10-Oct-2002 |
dyoung <dyoung@NetBSD.org> |
Introduce biosdiskreset(), and call it to reset the disk (with Int 0x13 Function 0) after a read error. This is a requirement mentioned in most BIOS documentation.
This answers PR 18591.
Incidental
Introduce biosdiskreset(), and call it to reset the disk (with Int 0x13 Function 0) after a read error. This is a requirement mentioned in most BIOS documentation.
This answers PR 18591.
Incidentally, on the Soekris Engineering net45x1 single-board computer, this fixes a bug where the bootloader corrupts the kernel while loading it from certain varieties of CompactFlash card (especially varieties identified by NetBSD as <TOSHIBA THNCF064MBA>).
show more ...
|
#
c3748d91 |
| 07-Jul-2001 |
perry <perry@NetBSD.org> |
b*()->mem*()
|
#
e6d27a3a |
| 02-Nov-1999 |
drochner <drochner@NetBSD.org> |
correct debug printf() to make it compile with DISK_DEBUG again, closes PR kern/8718 by Takahiro Kambe
|
#
4fbaa0b2 |
| 04-May-1999 |
fvdl <fvdl@NetBSD.org> |
Restrict "out of CHS range" check to harddisks.
|
#
48003b2c |
| 28-Apr-1999 |
fvdl <fvdl@NetBSD.org> |
Only use int13 extensions if the sectors can not be read through the older CHS interface. This works around stupid BIOSs who report that int13 extensions are present and functional, but fail when you
Only use int13 extensions if the sectors can not be read through the older CHS interface. This works around stupid BIOSs who report that int13 extensions are present and functional, but fail when you actually use them. Like Adaptec SCSI BIOSs.
show more ...
|
#
62031ff9 |
| 30-Mar-1999 |
drochner <drochner@NetBSD.org> |
fix some disk handling problems introduced in the last commits: -read retries were botched, use the right sector count -read-ahead buffer was effectively unused -concentrate the handling of the weird
fix some disk handling problems introduced in the last commits: -read retries were botched, use the right sector count -read-ahead buffer was effectively unused -concentrate the handling of the weird BIOS geometry report at one place -fallback for old floppies left cylinder count uninitialized
show more ...
|