mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-16 00:15:08 +01:00
0f17471b27
*Added sources of the custom libs to the branches *Fixed crash when switching from list layout to grid/carousel layout *Removed 1:1 copy option because its meaningless and almost the same as installing all partitions *Fixed install partition selection. This option needs a reset. Go to settings and reselect your option for this. *Fixed schinese and tchinese language modes (filename bugs. has to be schinese.lang and tchinese.lang like on SVN) *Fixed bug in sound buffer circle *Fixed incorrect behaviour of x-flip when selecting system like (thx Cyan for the patch) *Accept ios revision 65535 for Waninkokos IOSes (thx to PPSainity for pointing it out) *Merged the new theming style branch into trunk. Just as a reminder: ALL old themes will not work until the themers did port it to the new style! *Removed old theme style completely Theme example: The example file of the theme is the Default.them file. It can be found in the SVN trunk. Change in loading of themes: When selecting a theme now a list of all .them files in a folder is displayed. The image folder of that theme has to be in the same folder as the .them file. The image path is defined in the head of the .them file in the line with "Image-Folder: Example\n".
65 lines
1.5 KiB
C
65 lines
1.5 KiB
C
/*
|
|
* jfs_dat.h --- stripped down header file which only contains the JFS
|
|
* on-disk data structures
|
|
*/
|
|
|
|
#define JFS_MAGIC_NUMBER 0xc03b3998U /* The first 4 bytes of /dev/random! */
|
|
|
|
/*
|
|
* On-disk structures
|
|
*/
|
|
|
|
/*
|
|
* Descriptor block types:
|
|
*/
|
|
|
|
#define JFS_DESCRIPTOR_BLOCK 1
|
|
#define JFS_COMMIT_BLOCK 2
|
|
#define JFS_SUPERBLOCK 3
|
|
|
|
/*
|
|
* Standard header for all descriptor blocks:
|
|
*/
|
|
typedef struct journal_header_s
|
|
{
|
|
__u32 h_magic;
|
|
__u32 h_blocktype;
|
|
__u32 h_sequence;
|
|
} journal_header_t;
|
|
|
|
|
|
/*
|
|
* The block tag: used to describe a single buffer in the journal
|
|
*/
|
|
typedef struct journal_block_tag_s
|
|
{
|
|
__u32 t_blocknr; /* The on-disk block number */
|
|
__u32 t_flags; /* See below */
|
|
} journal_block_tag_t;
|
|
|
|
/* Definitions for the journal tag flags word: */
|
|
#define JFS_FLAG_ESCAPE 1 /* on-disk block is escaped */
|
|
#define JFS_FLAG_SAME_UUID 2 /* block has same uuid as previous */
|
|
#define JFS_FLAG_DELETED 4 /* block deleted by this transaction */
|
|
#define JFS_FLAG_LAST_TAG 8 /* last tag in this descriptor block */
|
|
|
|
|
|
/*
|
|
* The journal superblock
|
|
*/
|
|
typedef struct journal_superblock_s
|
|
{
|
|
journal_header_t s_header;
|
|
|
|
/* Static information describing the journal */
|
|
__u32 s_blocksize; /* journal device blocksize */
|
|
__u32 s_maxlen; /* total blocks in journal file */
|
|
__u32 s_first; /* first block of log information */
|
|
|
|
/* Dynamic information describing the current state of the log */
|
|
__u32 s_sequence; /* first commit ID expected in log */
|
|
__u32 s_start; /* blocknr of start of log */
|
|
|
|
} journal_superblock_t;
|
|
|