Root/
Source at commit 1406 created 12 years 10 months ago. By meklort, Revert drivers.c so that kexts are only loaded when OSBundleRequired is set and that value is not safe mode. Added some comments about it too. | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 2011 Evan Lojewski. All rights reserved.␊ |
3 | *␊ |
4 | */␊ |
5 | #ifndef FDISK_PARTITION_H␊ |
6 | #define FDISK_PARTITION_H␊ |
7 | ␊ |
8 | #include <Partition.hpp>␊ |
9 | #include <IOKit/IOTypes.h>␊ |
10 | #include <IOKit/storage/IOFDiskPartitionScheme.h>␊ |
11 | ␊ |
12 | class FDiskPartition : public Partition␊ |
13 | {␊ |
14 | public:␊ |
15 | FDiskPartition(Disk* disk, UInt8 partitionNumber);␊ |
16 | ~FDiskPartition();␊ |
17 | ␊ |
18 | protected:␊ |
19 | bool isMBRDisk();␊ |
20 | ␊ |
21 | struct disk_blk0 mLBA0;␊ |
22 | struct fdisk_part* mFdiskEntry;␊ |
23 | ␊ |
24 | private:␊ |
25 | };␊ |
26 | ␊ |
27 | #endif /* FDISK_PARTITION_H */␊ |
28 |