Slowly come up with design for loading from CD
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
#define __JABYENGINE_OVERLAY__HPP__
|
||||
#include "../../stdint.h"
|
||||
|
||||
typedef struct __attribute__((packed)) {
|
||||
struct __attribute__((packed)) OverlayHeader {
|
||||
void (*execute)();
|
||||
uint16_t lba_size;
|
||||
} OverlayHeader;
|
||||
};
|
||||
|
||||
typedef struct __attribute__((packed)) {
|
||||
// Maybe encode attributes like "isLZ4" into size parameter
|
||||
struct __attribute__((packed)) OverlayLBA {
|
||||
uint16_t lba;
|
||||
uint16_t size;
|
||||
} OverlayLBA;
|
||||
};
|
||||
#endif //!__JABYENGINE_OVERLAY__HPP__
|
Reference in New Issue
Block a user