feat: gdt, attributes move, reorder
Added late gdt setup with initial tss Moved attributes to include root Reordered some imports
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <myke/driver.h>
|
||||
#include <stdbool.h>
|
||||
#include <myke/attributes.h>
|
||||
#include <attributes.h>
|
||||
|
||||
#define PCI_CLASS_MASS_STORAGE 0x01
|
||||
#define PCI_CLASS_BRIDGE 0x06
|
||||
@@ -190,7 +190,7 @@ typedef union {
|
||||
bool fast_b2b_enable: 1;
|
||||
bool interrupt_disable: 1;
|
||||
uint8_t reserved2: 5;
|
||||
} packed command;
|
||||
} att_packed command;
|
||||
} pci_command_register_t;
|
||||
|
||||
typedef union {
|
||||
@@ -209,7 +209,7 @@ typedef union {
|
||||
bool received_master_abort: 1;
|
||||
bool signaled_system_error: 1;
|
||||
bool detected_parity_error: 1;
|
||||
} packed status;
|
||||
} att_packed status;
|
||||
} pci_status_register_t;
|
||||
|
||||
void pci_print_info();
|
||||
|
||||
Reference in New Issue
Block a user