소스 검색

For pci_io.c

tags/v0.9.3
Michael Brown 20 년 전
부모
커밋
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 */

Loading…
취소
저장