mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07:28:21 +00:00
initial hpet support
for now only a few wait functions are supported
This commit is contained in:
@@ -122,7 +122,10 @@ static void legacy_enumeration(){
|
||||
|
||||
}
|
||||
|
||||
|
||||
uint64_t pci_msi_build(uint64_t* data, uint8_t vector, uint8_t processor, uint8_t edgetrigger, uint8_t deassert){
|
||||
*data = vector | (edgetrigger << 15) | (deassert << 14);
|
||||
return (0xFEE00000 | (processor << 12));
|
||||
}
|
||||
|
||||
void pci_enumerate(){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user