X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=test%2Fgeekos_test_vm%2Finclude%2Fgeekos%2Fio_devs.h;fp=test%2Fgeekos_test_vm%2Finclude%2Fgeekos%2Fio_devs.h;h=6e6e24a83613f1b470ffe4fad6dbea20a895b216;hp=0000000000000000000000000000000000000000;hb=a70930549d1b741704dd7af4e6bb0e89f6f8a519;hpb=afb634a80f946634454a5d067a92aa600227bd93 diff --git a/test/geekos_test_vm/include/geekos/io_devs.h b/test/geekos_test_vm/include/geekos/io_devs.h new file mode 100644 index 0000000..6e6e24a --- /dev/null +++ b/test/geekos_test_vm/include/geekos/io_devs.h @@ -0,0 +1,19 @@ +#ifndef _io_devs +#define _io_devs + + +// +// +// PIC: Programmable Interrupt Controller +// +#define PIC_MASTER_CMD_ISR_PORT 0x20 // Port where the master PIC command and status register is +#define PIC_MASTER_IMR_PORT 0x21 // Port where the master PIC interrupt mask register is +#define PIC_SLAVE_CMD_ISR_PORT 0xa0 // Port where the slave PIC command and status register is +#define PIC_SLAVE_IMR_PORT 0xa1 // Port where the slave PIC interrupt mask register is + + +#define BOOT_STATE_CARD_PORT 0x80 // hex codes sent here for display + + + +#endif