Prepare for supporting LBAs in persitent code
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#ifndef __JABYENGINE_OVERLAY__HPP__
|
||||
#define __JABYENGINE_OVERLAY__HPP__
|
||||
#include "../../stdint.h"
|
||||
#include "../AutoLBA/auto_lba.hpp"
|
||||
|
||||
namespace JabyEngine {
|
||||
struct __attribute__((packed)) OverlayHeader {
|
||||
@@ -8,10 +8,6 @@ namespace JabyEngine {
|
||||
uint16_t lba_size; //< The size of the OverlayLBA section
|
||||
};
|
||||
|
||||
// Maybe encode attributes like "isLZ4" into size parameter
|
||||
struct __attribute__((packed)) OverlayLBA {
|
||||
uint16_t lba;
|
||||
uint16_t size_words;
|
||||
};
|
||||
typedef AutoLBAEntry OverlayLBA;
|
||||
}
|
||||
#endif //!__JABYENGINE_OVERLAY__HPP__
|
||||
Reference in New Issue
Block a user