Prepare for supporting LBAs in persitent code
This commit is contained in:
16
include/PSX/AutoLBA/auto_lba.hpp
Normal file
16
include/PSX/AutoLBA/auto_lba.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef __JABYENGINE_AUTO_LBA_HPP__
|
||||
#define __JABYENGINE_AUTO_LBA_HPP__
|
||||
#include "../../stdint.h"
|
||||
|
||||
namespace JabyEngine {
|
||||
#define __jabyengine_start_lba_request
|
||||
#define __jabyengine_request_lba_for(name, file) name
|
||||
#define __jabyengine_end_lba_request EndOfRequest
|
||||
|
||||
struct __attribute__((packed)) AutoLBAEntry {
|
||||
uint16_t lba;
|
||||
uint16_t size_words;
|
||||
};
|
||||
}
|
||||
|
||||
#endif //!__JABYENGINE_AUTO_LBA_HPP__
|
Reference in New Issue
Block a user