Michael Brown 19 лет назад
Родитель
Сommit
3095881c54
1 измененных файлов: 20 добавлений и 0 удалений
  1. 20
    0
      src/arch/i386/include/pci_io.h

+ 20
- 0
src/arch/i386/include/pci_io.h Просмотреть файл

@@ -0,0 +1,20 @@
1
+#ifndef PCI_IO_H
2
+#define PCI_IO_H
3
+
4
+/* %ah */
5
+#define PCIBIOS_PCI_FUNCTION_ID         ( 0xb1 )
6
+/* %al */
7
+#define PCIBIOS_PCI_BIOS_PRESENT        ( 0x01 )
8
+#define PCIBIOS_FIND_PCI_DEVICE         ( 0x02 )
9
+#define PCIBIOS_FIND_PCI_CLASS_CODE     ( 0x03 )
10
+#define PCIBIOS_GENERATE_SPECIAL_CYCLE  ( 0x06 )
11
+#define PCIBIOS_READ_CONFIG_BYTE        ( 0x08 )
12
+#define PCIBIOS_READ_CONFIG_WORD        ( 0x09 )
13
+#define PCIBIOS_READ_CONFIG_DWORD       ( 0x0a )
14
+#define PCIBIOS_WRITE_CONFIG_BYTE       ( 0x0b )
15
+#define PCIBIOS_WRITE_CONFIG_WORD       ( 0x0c )
16
+#define PCIBIOS_WRITE_CONFIG_DWORD      ( 0x0d )
17
+#define PCIBIOS_GET_IRQ_ROUTING_OPTIONS	( 0x0e )
18
+#define PCIBIOS_SET_PCI_IRQ		( 0x0f )
19
+
20
+#endif /* PCI_IO_H */

Загрузка…
Отмена
Сохранить