ReactOS
0.4.16-dev-852-gcfcc8d8
finstext2.h
Go to the documentation of this file.
1
#pragma once
2
3
#define PACKED __attribute__((packed))
4
5
typedef
struct
6
{
7
unsigned
char
JmpBoot[3];
8
unsigned
char
BootDrive
;
9
//unsigned char BootPartition;
10
//unsigned char SectorsPerTrack;
11
//unsigned short NumberOfHeads;
12
//unsigned long Reserved1;
13
//unsigned long Reserved2;
14
15
unsigned
long
Ext2VolumeStartSector
;
// Start sector of the ext2 volume
16
unsigned
long
Ext2BlockSize
;
// Block size in sectors
17
unsigned
long
Ext2BlockSizeInBytes
;
// Block size in bytes
18
unsigned
long
Ext2PointersPerBlock
;
// Number of block pointers that can be contained in one block
19
unsigned
long
Ext2GroupDescPerBlock
;
// Number of group descriptors per block
20
unsigned
long
Ext2FirstDataBlock
;
// First data block (1 for 1024-byte blocks, 0 for bigger sizes)
21
unsigned
long
Ext2InodesPerGroup
;
// Number of inodes per group
22
unsigned
long
Ext2InodesPerBlock
;
// Number of inodes per block
23
24
unsigned
char
BootCodeAndData[459];
25
26
unsigned
char
BootPartition
;
27
unsigned
short
BootSignature
;
28
29
}
PACKED
EXT2_BOOTCODE, *
PEXT2_BOOTCODE
;
PEXT2_BOOTCODE
struct PACKED * PEXT2_BOOTCODE
PACKED
Definition:
finstext2.h:6
PACKED::BootSignature
unsigned short BootSignature
Definition:
finstext2.h:27
PACKED::Ext2InodesPerBlock
unsigned long Ext2InodesPerBlock
Definition:
finstext2.h:22
PACKED::Ext2InodesPerGroup
unsigned long Ext2InodesPerGroup
Definition:
finstext2.h:21
PACKED::BootDrive
unsigned char BootDrive
Definition:
finstext2.h:8
PACKED::Ext2PointersPerBlock
unsigned long Ext2PointersPerBlock
Definition:
finstext2.h:18
PACKED::Ext2FirstDataBlock
unsigned long Ext2FirstDataBlock
Definition:
finstext2.h:20
PACKED::BootPartition
unsigned char BootPartition
Definition:
finstext2.h:26
PACKED::Ext2BlockSizeInBytes
unsigned long Ext2BlockSizeInBytes
Definition:
finstext2.h:17
PACKED::Ext2BlockSize
unsigned long Ext2BlockSize
Definition:
finstext2.h:16
PACKED::Ext2VolumeStartSector
unsigned long Ext2VolumeStartSector
Definition:
finstext2.h:15
PACKED::Ext2GroupDescPerBlock
unsigned long Ext2GroupDescPerBlock
Definition:
finstext2.h:19
boot
freeldr
install
linux
finstext2.h
Generated on Sun Mar 23 2025 06:02:40 for ReactOS by
1.9.6