[PATCH] rombios: create initial interrupt vector offsets

"Sebastian Herbszt" <[email protected]> Sun, 21 Apr 2013 19:32:24 +0200
Newsgroups gmane.comp.emulators.bochs.devel
Message-ID <E8C271CA56924CA091FA33D2427568F7@FSCPC>
Create initial interrupt vector offsets.
Change based on sf patch #507.

Sebastian

Index: bios/rombios.c
===================================================================
--- bios.orig/rombios.c
+++ bios/rombios.c
@@ -11620,6 +11620,31 @@ int08_store_ticks:
   iret
 
 .org 0xfef3 ; Initial Interrupt Vector Offsets Loaded by POST
+initial_int_vector_offset_08_1f:
+  dw int08_handler
+  dw int09_handler
+  dw dummy_master_pic_irq_handler
+  dw dummy_master_pic_irq_handler
+  dw dummy_master_pic_irq_handler
+  dw dummy_master_pic_irq_handler
+  dw int0e_handler
+  dw dummy_master_pic_irq_handler
+  dw int10_handler
+  dw int11_handler
+  dw int12_handler
+  dw int13_handler
+  dw int14_handler
+  dw int15_handler
+  dw int16_handler
+  dw int17_handler
+  dw int18_handler
+  dw int19_handler
+  dw int1a_handler
+  dw dummy_iret_handler
+  dw dummy_iret_handler
+  dw 0
+  dw diskette_param_table2
+  dw 0
 
 ;------------------------------------------------
 ;- IRET Instruction for Dummy Interrupt Handler -

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter

_______________________________________________
bochs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bochs-developers
create_initial_int_vector_offset_08_1f.diff (application/octet-stream, 937 B)
Index: bios/rombios.c
===================================================================
--- bios.orig/rombios.c
+++ bios/rombios.c
@@ -11620,6 +11620,31 @@ int08_store_ticks:
   iret
 
 .org 0xfef3 ; Initial Interrupt Vector Offsets Loaded by POST
+initial_int_vector_offset_08_1f:
+  dw int08_handler
+  dw int09_handler
+  dw dummy_master_pic_irq_handler
+  dw dummy_master_pic_irq_handler
+  dw dummy_master_pic_irq_handler
+  dw dummy_master_pic_irq_handler
+  dw int0e_handler
+  dw dummy_master_pic_irq_handler
+  dw int10_handler
+  dw int11_handler
+  dw int12_handler
+  dw int13_handler
+  dw int14_handler
+  dw int15_handler
+  dw int16_handler
+  dw int17_handler
+  dw int18_handler
+  dw int19_handler
+  dw int1a_handler
+  dw dummy_iret_handler
+  dw dummy_iret_handler
+  dw 0
+  dw diskette_param_table2
+  dw 0
 
 ;------------------------------------------------
 ;- IRET Instruction for Dummy Interrupt Handler -