Go to the source code of this file.
◆ AHCI_PORT_CTX
◆ ahci_get_block_device()
◆ ahci_init()
#define AHCI_DEBUG_PRINT
Initialize the AHCI Driver.
- Returns
- True or False based if it initialized correctly or not. (if failure = bugcheck)
Definition at line 292 of file ahci.c.
◆ ahci_read_sector()
Read a single bytes-byte sector from the given LBA on a specific BLOCK_DEVICE.
- Parameters
-
| dev | Takes the BLOCK_DEVICE device pointer (on register_block_device) |
| lba | LBA to read from. |
| buf | Return buffer to place the data read. |
- Returns
- True or False based on succession | buf pointer changes.
Definition at line 330 of file ahci.c.
◆ ahci_write_sector()
Write a single bytes-byte sector to given LBA on a specific BLOCK_DEVICE.
- Parameters
-
| dev | Takes the BLOCK_DEVICE device pointer (on register_block_device) |
| lba | LBA to read from. |
| buf | The buffer to write to the specified LBA. |
- Returns
- True or False based on succession
Definition at line 450 of file ahci.c.
◆ ahci_initialized
| bool ahci_initialized = false |
◆ boot_info_local
◆ gop_local