Root/
Source at commit 1158 created 13 years 16 days ago. By azimutz, Match nvidia.c with the one on my branch (Chazi) adding dev id's from issue 99 and Asus G74SX (0DF4, 1251). | |
---|---|
1 | /*␊ |
2 | * Copyright (c) 2011 Evan Lojewski. All rights reserved.␊ |
3 | *␊ |
4 | */␊ |
5 | #ifndef GUID_PARTITION_H␊ |
6 | #define GUID_PARTITION_H␊ |
7 | ␊ |
8 | #include <IOKit/IOTypes.h>␊ |
9 | #include <Partition.hpp>␊ |
10 | #include <IOKit/storage/IOGUIDPartitionScheme.h>␊ |
11 | ␊ |
12 | class GUIDPartition : Partition␊ |
13 | {␊ |
14 | public:␊ |
15 | GUIDPartition(Disk* disk, UInt8 partitionNumber);␊ |
16 | ~GUIDPartition();␊ |
17 | ␊ |
18 | protected:␊ |
19 | bool isGPTDisk();␊ |
20 | ␊ |
21 | private:␊ |
22 | UInt8 mLBABUffer[512]; // TODO: don't assume 512␊ |
23 | gpt_hdr* mGPTHeader;␊ |
24 | gpt_ent* mGPTEntry;␊ |
25 | };␊ |
26 | ␊ |
27 | #endif /* GUID_PARTITION_H */␊ |
28 |