1 #ifndef __LUNAIX_BLOCK_H
2 #define __LUNAIX_BLOCK_H
4 #include <hal/ahci/hba.h>
6 #define LPT_SIG 0x414e554c
7 #define PARTITION_NAME_SIZE 48
9 typedef uint64_t partition_t;
10 typedef uint32_t bdev_t;
14 char name[PARTITION_NAME_SIZE];
15 struct hba_device* hd_dev;
22 char part_name[PARTITION_NAME_SIZE];
25 } __attribute__((packed));
27 // Lunaix Partition Table
32 uint32_t pt_start_lba;
35 } __attribute__((packed));
37 #endif /* __LUNAIX_BLOCK_H */