Fix some Rtl Prototype inconsistencies, more are in ntifs/winddk but i have fixed...
[reactos.git] / reactos / boot / freeldr / install / linux / finstext2.h
1 #ifndef __FINSTEXT2_H
2 #define __FINSTEXT2_H
3
4
5 #define PACKED __attribute__((packed))
6
7 typedef struct
8 {
9 unsigned char JmpBoot[3];
10 unsigned char BootDrive;
11 //unsigned char BootPartition;
12 //unsigned char SectorsPerTrack;
13 //unsigned short NumberOfHeads;
14 //unsigned long Reserved1;
15 //unsigned long Reserved2;
16
17 unsigned long Ext2VolumeStartSector; // Start sector of the ext2 volume
18 unsigned long Ext2BlockSize; // Block size in sectors
19 unsigned long Ext2BlockSizeInBytes; // Block size in bytes
20 unsigned long Ext2PointersPerBlock; // Number of block pointers that can be contained in one block
21 unsigned long Ext2GroupDescPerBlock; // Number of group descriptors per block
22 unsigned long Ext2FirstDataBlock; // First data block (1 for 1024-byte blocks, 0 for bigger sizes)
23 unsigned long Ext2InodesPerGroup; // Number of inodes per group
24 unsigned long Ext2InodesPerBlock; // Number of inodes per block
25
26 unsigned char BootCodeAndData[459];
27
28 unsigned char BootPartition;
29 unsigned short BootSignature;
30
31 } PACKED EXT2_BOOTCODE, *PEXT2_BOOTCODE;
32
33
34
35 #endif // defined __FINSTEXT2_H