summaryrefslogtreecommitdiffstats
path: root/libpit/Source/libpit.h
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2012-03-29 15:50:27 +0200
committerBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2012-03-29 15:50:27 +0200
commit907c942fd12ff204a387f5cc0a7f3de079186100 (patch)
tree5dfad7a827b3ceff16f775a5d10f72207d0b8007 /libpit/Source/libpit.h
parentReplaced some extremely weird code that I came up with during the initial (diff)
downloadHeimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar
Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.gz
Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.bz2
Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.lz
Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.xz
Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.zst
Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.zip
Diffstat (limited to 'libpit/Source/libpit.h')
-rw-r--r--libpit/Source/libpit.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/libpit/Source/libpit.h b/libpit/Source/libpit.h
index 1231cf0..a7bf5c9 100644
--- a/libpit/Source/libpit.h
+++ b/libpit/Source/libpit.h
@@ -48,13 +48,6 @@ namespace libpit
enum
{
- kPartitionTypeRfs = 0,
- kPartitionTypeBlank = 1, // ?
- kPartitionTypeExt4 = 2
- };
-
- enum
- {
kPartitionFlagWrite = 1 << 1
};
@@ -62,7 +55,7 @@ namespace libpit
bool unused;
- unsigned int partitionType;
+ unsigned int chipIdentifier;
unsigned int partitionIdentifier;
unsigned int partitionFlags;
@@ -94,14 +87,14 @@ namespace libpit
this->unused = unused;
}
- unsigned int GetPartitionType(void) const
+ unsigned int GetChipIdentifier(void) const
{
- return partitionType;
+ return chipIdentifier;
}
- void SetPartitionType(unsigned int partitionType)
+ void SetChipIdentifier(unsigned int chipIdentifier)
{
- this->partitionType = partitionType;
+ this->chipIdentifier = chipIdentifier;
}
unsigned int GetPartitionIdentifier(void) const