block: read GPT header from block devices on init
This commit is contained in:
parent
c94d26dff1
commit
05c528f64c
6 changed files with 138 additions and 8 deletions
|
|
@ -334,6 +334,8 @@ struct sata_device {
|
|||
struct pci_device *controller;
|
||||
uint8_t port;
|
||||
|
||||
size_t sector_size;
|
||||
size_t sector_count;
|
||||
hbamem_t *abar;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue