Re-organize functions

This commit is contained in:
topjohnwu
2019-01-26 06:00:23 -05:00
parent b3e0d5ba58
commit 9275975b2c
5 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ boot_img::~boot_img() {
#define CHROMEOS_RET 2
#define ELF32_RET 3
#define ELF64_RET 4
#define pos_align() pos = align(pos, page_size())
#define pos_align() pos = do_align(pos, page_size())
int boot_img::parse_image(const char * image) {
mmap_ro(image, (void **) &map_addr, &map_size);