feat: implemented ide read write operations
This commit is contained in:
@@ -55,6 +55,8 @@
|
||||
#define PCI_CONFIG_MAX_GRANT 0x3E
|
||||
#define PCI_CONFIG_MAX_LATENCY 0x3F
|
||||
|
||||
#define PCI_INTERRUPT_LINE_DISABLED 0xff
|
||||
|
||||
typedef struct pci_driver pci_driver;
|
||||
typedef struct pci_device pci_device;
|
||||
|
||||
@@ -80,7 +82,7 @@ typedef struct {
|
||||
u8 present: 1;
|
||||
u8 is_io_space: 1;
|
||||
u8 type: 2;
|
||||
u8 prefetchable: 3;
|
||||
u8 prefetchable: 1;
|
||||
} bar_info;
|
||||
|
||||
typedef struct pci_device {
|
||||
|
||||
Reference in New Issue
Block a user