Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
7ee7d0e3
Commit
7ee7d0e3
authored
May 04, 2006
by
David Woodhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include <linux/types.h> and use __uXX types in <linux/affs_hardblocks.h>
Signed-off-by:
David Woodhouse
<
dwmw2@infradead.org
>
parent
5da04589
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
35 deletions
+37
-35
include/linux/affs_hardblocks.h
include/linux/affs_hardblocks.h
+37
-35
No files found.
include/linux/affs_hardblocks.h
View file @
7ee7d0e3
#ifndef AFFS_HARDBLOCKS_H
#define AFFS_HARDBLOCKS_H
#include <linux/types.h>
/* Just the needed definitions for the RDB of an Amiga HD. */
struct
RigidDiskBlock
{
u32
rdb_ID
;
__
u32
rdb_ID
;
__be32
rdb_SummedLongs
;
s32
rdb_ChkSum
;
u32
rdb_HostID
;
__
s32
rdb_ChkSum
;
__
u32
rdb_HostID
;
__be32
rdb_BlockBytes
;
u32
rdb_Flags
;
u32
rdb_BadBlockList
;
__
u32
rdb_Flags
;
__
u32
rdb_BadBlockList
;
__be32
rdb_PartitionList
;
u32
rdb_FileSysHeaderList
;
u32
rdb_DriveInit
;
u32
rdb_Reserved1
[
6
];
u32
rdb_Cylinders
;
u32
rdb_Sectors
;
u32
rdb_Heads
;
u32
rdb_Interleave
;
u32
rdb_Park
;
u32
rdb_Reserved2
[
3
];
u32
rdb_WritePreComp
;
u32
rdb_ReducedWrite
;
u32
rdb_StepRate
;
u32
rdb_Reserved3
[
5
];
u32
rdb_RDBBlocksLo
;
u32
rdb_RDBBlocksHi
;
u32
rdb_LoCylinder
;
u32
rdb_HiCylinder
;
u32
rdb_CylBlocks
;
u32
rdb_AutoParkSeconds
;
u32
rdb_HighRDSKBlock
;
u32
rdb_Reserved4
;
__
u32
rdb_FileSysHeaderList
;
__
u32
rdb_DriveInit
;
__
u32
rdb_Reserved1
[
6
];
__
u32
rdb_Cylinders
;
__
u32
rdb_Sectors
;
__
u32
rdb_Heads
;
__
u32
rdb_Interleave
;
__
u32
rdb_Park
;
__
u32
rdb_Reserved2
[
3
];
__
u32
rdb_WritePreComp
;
__
u32
rdb_ReducedWrite
;
__
u32
rdb_StepRate
;
__
u32
rdb_Reserved3
[
5
];
__
u32
rdb_RDBBlocksLo
;
__
u32
rdb_RDBBlocksHi
;
__
u32
rdb_LoCylinder
;
__
u32
rdb_HiCylinder
;
__
u32
rdb_CylBlocks
;
__
u32
rdb_AutoParkSeconds
;
__
u32
rdb_HighRDSKBlock
;
__
u32
rdb_Reserved4
;
char
rdb_DiskVendor
[
8
];
char
rdb_DiskProduct
[
16
];
char
rdb_DiskRevision
[
4
];
char
rdb_ControllerVendor
[
8
];
char
rdb_ControllerProduct
[
16
];
char
rdb_ControllerRevision
[
4
];
u32
rdb_Reserved5
[
10
];
__
u32
rdb_Reserved5
[
10
];
};
#define IDNAME_RIGIDDISK 0x5244534B
/* "RDSK" */
...
...
@@ -47,16 +49,16 @@ struct RigidDiskBlock {
struct
PartitionBlock
{
__be32
pb_ID
;
__be32
pb_SummedLongs
;
s32
pb_ChkSum
;
u32
pb_HostID
;
__
s32
pb_ChkSum
;
__
u32
pb_HostID
;
__be32
pb_Next
;
u32
pb_Flags
;
u32
pb_Reserved1
[
2
];
u32
pb_DevFlags
;
u8
pb_DriveName
[
32
];
u32
pb_Reserved2
[
15
];
__
u32
pb_Flags
;
__
u32
pb_Reserved1
[
2
];
__
u32
pb_DevFlags
;
__
u8
pb_DriveName
[
32
];
__
u32
pb_Reserved2
[
15
];
__be32
pb_Environment
[
17
];
u32
pb_EReserved
[
15
];
__
u32
pb_EReserved
[
15
];
};
#define IDNAME_PARTITION 0x50415254
/* "PART" */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment