2021-09-14 15:51:43 +00:00
|
|
|
/*
|
|
|
|
* initdr.h
|
|
|
|
*
|
|
|
|
* Created on: Sep 1, 2011
|
|
|
|
* Author: Tiberiu
|
|
|
|
*/
|
|
|
|
|
2021-09-14 15:52:47 +00:00
|
|
|
|
2021-09-14 15:51:43 +00:00
|
|
|
#ifndef INITDR_H_
|
|
|
|
#define INITDR_H_
|
|
|
|
|
|
|
|
#include <types.h>
|
|
|
|
#include <fileio.h>
|
|
|
|
|
|
|
|
typedef struct {
|
2021-09-14 15:52:47 +00:00
|
|
|
DirectoryEntry De;
|
2021-09-14 15:51:43 +00:00
|
|
|
uint32 Offset;
|
2021-09-14 15:52:47 +00:00
|
|
|
} __attribute__((packed)) luxDirectoryEntry;
|
2021-09-14 15:51:43 +00:00
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
uint32 Magic;
|
|
|
|
char Oem[6];
|
2021-09-14 15:52:47 +00:00
|
|
|
uint32 RootSize;
|
|
|
|
// After RootSize is the root content
|
|
|
|
} __attribute__((packed)) luxHeader;
|
2021-09-14 15:51:43 +00:00
|
|
|
|
|
|
|
#endif /* INITDR_H_ */
|