Correct fat32readwrite prototype and register use in detect LBA pragma.

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1342 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2007-07-23 09:53:49 +00:00
parent c2fababb01
commit 43399a4335

View File

@ -516,7 +516,7 @@ int2526readwrite(DosDrive, diskReadPacket, 0x26)
#endif
fat32readwrite(int DosDrive, void *diskReadPacket, unsigned intno)
int fat32readwrite(int DosDrive, void *diskReadPacket, unsigned intno)
{
union REGS regs;
@ -643,7 +643,7 @@ BOOL haveLBA(void); /* return TRUE if we have LBA BIOS, FALSE otherwise */
"and cx, 1" \
"xchg cx, ax" \
"quit:" \
modify [bx cx] \
modify [bx cx dx] \
value [ax];
#else