Update for INT13 support.

XXX We can't easily emulate this here due to the 16-bit-pointer
call interface.
This commit is contained in:
drochner 1998-11-22 15:44:03 +00:00
parent 78db9d7d95
commit 1c0cc94837
2 changed files with 28 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: biosdisk_user.c,v 1.1 1998/05/15 17:07:15 drochner Exp $ */
/* $NetBSD: biosdisk_user.c,v 1.2 1998/11/22 15:44:03 drochner Exp $ */
/*
* Copyright (c) 1998
@ -111,3 +111,27 @@ biosread(dev, cyl, head, sec, nsec, buf)
}
return (0);
}
int
int13_extension(dev)
int dev;
{
return (0);
}
struct ext {
int8_t size;
int8_t resvd;
int16_t cnt;
int16_t off;
int16_t seg;
int64_t sec;
};
int
biosextread(dev, ext)
int dev;
struct ext *ext;
{
return (-1);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: stand_user.c,v 1.1 1998/05/15 17:07:17 drochner Exp $ */
/* $NetBSD: stand_user.c,v 1.2 1998/11/22 15:44:03 drochner Exp $ */
/*
* Copyright (c) 1998
@ -149,3 +149,5 @@ mapio()
warn("i386_iopl");
return (res);
}
int ourseg = 12345;