diff options
-rw-r--r-- | bios_extract.c | 2 | ||||
-rw-r--r-- | bios_extract.h | 4 | ||||
-rw-r--r-- | phoenix.c | 13 |
3 files changed, 2 insertions, 17 deletions
diff --git a/bios_extract.c b/bios_extract.c index 4c86d02..4075b96 100644 --- a/bios_extract.c +++ b/bios_extract.c @@ -92,7 +92,7 @@ static struct { {"Phoenix FirstBIOS", "BCPSEGMENT", PhoenixExtract}, {"PhoenixBIOS 4.0", "BCPSEGMENT", PhoenixExtract}, {"Phoenix ServerBIOS 3", "BCPSEGMENT", PhoenixExtract}, - {"Phoenix TrustedCore", "BCPSEGMENT", PhoenixTrustedExtract}, + {"Phoenix TrustedCore", "BCPSEGMENT", PhoenixExtract}, {NULL, NULL, NULL}, }; diff --git a/bios_extract.h b/bios_extract.h index a39a747..ea268e0 100644 --- a/bios_extract.h +++ b/bios_extract.h @@ -44,9 +44,7 @@ Bool AMI95Extract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset, /* phoenix.c */ Bool PhoenixExtract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset, uint32_t Offset1, uint32_t Offset2); -Bool PhoenixTrustedExtract(unsigned char *BIOSImage, int BIOSLength, - int BIOSOffset, uint32_t Offset1, - uint32_t BCPSegmentOffset); + /* award.c */ Bool AwardExtract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset, uint32_t Offset1, uint32_t Offset2); @@ -238,16 +238,3 @@ PhoenixExtract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset, return TRUE; } - -/* - * - */ -Bool -PhoenixTrustedExtract(unsigned char *BIOSImage, int BIOSLength, int BIOSOffset, - uint32_t Offset1, uint32_t BCPSegmentOffset) -{ - fprintf(stderr, "ERROR: Phoenix TrustedCore images are not supported.\n"); - printf("Feel free to RE the decompression routine :)\n"); - - return FALSE; -} |