summaryrefslogtreecommitdiffstats
path: root/src/partxbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/partxbox.h')
-rw-r--r--src/partxbox.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/partxbox.h b/src/partxbox.h
new file mode 100644
index 0000000..e1c2cb2
--- /dev/null
+++ b/src/partxbox.h
@@ -0,0 +1,29 @@
+/*
+
+ File: partxbox.c
+
+ Copyright (C) 2005 Christophe GRENIER <grenier@cgsecurity.org>
+ Some information has been found in xbox-fdisk software
+
+ This software is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write the Free Software Foundation, Inc., 51
+ Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+ */
+
+struct xbox_partition
+{
+ char unk1[0x600];
+ char magic[4];
+ uint32_t bootnbr;
+} __attribute__ ((__packed__));