aboutsummaryrefslogtreecommitdiffstats
path: root/int10
diff options
context:
space:
mode:
Diffstat (limited to 'int10')
-rw-r--r--int10/i10_vbios.c10
-rw-r--r--int10/vbios.h2
2 files changed, 2 insertions, 10 deletions
diff --git a/int10/i10_vbios.c b/int10/i10_vbios.c
index 328ad84..5d12741 100644
--- a/int10/i10_vbios.c
+++ b/int10/i10_vbios.c
@@ -79,7 +79,7 @@ static sigjmp_buf longjmp_buf;
static void sigsegv_handler(int);
-int InitInt10(hd_data_t *hd_data, int pci_cfg_method)
+int InitInt10(hd_data_t *hd_data)
{
if(geteuid()) return -1;
@@ -97,14 +97,6 @@ int InitInt10(hd_data_t *hd_data, int pci_cfg_method)
return -1;
}
-#if 0
- scan_pci(pci_cfg_method);
-
- for(; CurrentPci; CurrentPci = CurrentPci->next) {
- if(CurrentPci->active) break;
- }
-#endif
-
iopl(0);
setup_int_vect();
diff --git a/int10/vbios.h b/int10/vbios.h
index edcb715..1777e01 100644
--- a/int10/vbios.h
+++ b/int10/vbios.h
@@ -1,6 +1,6 @@
#include "hd.h"
-int InitInt10(hd_data_t *, int);
+int InitInt10(hd_data_t *);
int CallInt10(int *ax, int *bx, int *cx, unsigned char *buf, int len, int cpuemu);
int CallInt13(int *ax, int *bx, int *cx, int *dx, unsigned char *buf, int len, int cpuemu);
void FreeInt10(void);