Tiberiu Chibici
852cf1bb17
==================================================== Mainly changed: FS.Initrd + (kind of) refractored VFS, bugfixed + Rewrote 'initrd' file system, fixed many problems + Working 'cat' and 'dir' console commands + Wrote 'initrd' image write application (for windows), however it may be bugged
28 lines
423 B
C
28 lines
423 B
C
/*
|
|
* initdr.h
|
|
*
|
|
* Created on: Sep 1, 2011
|
|
* Author: Tiberiu
|
|
*/
|
|
|
|
|
|
#ifndef INITDR_H_
|
|
#define INITDR_H_
|
|
|
|
#include <types.h>
|
|
#include <fileio.h>
|
|
|
|
typedef struct {
|
|
DirectoryEntry De;
|
|
uint32 Offset;
|
|
} __attribute__((packed)) luxDirectoryEntry;
|
|
|
|
typedef struct {
|
|
uint32 Magic;
|
|
char Oem[6];
|
|
uint32 RootSize;
|
|
// After RootSize is the root content
|
|
} __attribute__((packed)) luxHeader;
|
|
|
|
#endif /* INITDR_H_ */
|