git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sweep through entire page table to free up intermediate tables
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
boot_generic.h
diff --git
a/lunaix-os/includes/lunaix/boot_generic.h
b/lunaix-os/includes/lunaix/boot_generic.h
index dca7b9af1df9d2bef19c92b256a7261953fbe28e..7830cb2796cede61d2cc33542f6a138c79ee0d95 100644
(file)
--- a/
lunaix-os/includes/lunaix/boot_generic.h
+++ b/
lunaix-os/includes/lunaix/boot_generic.h
@@
-28,7
+28,6
@@
struct boot_modent
struct boot_handoff
{
struct boot_handoff
{
- size_t msize;
struct
{
size_t size;
struct
{
size_t size;
@@
-38,11
+37,12
@@
struct boot_handoff
struct
{
struct
{
- ptr_t ksections;
- size_t size;
+ struct {
+ char* cmdline;
+ size_t len;
+ };
- char* cmdline;
- size_t len;
+ ptr_t dtb_pa;
} kexec;
struct
} kexec;
struct
@@
-68,7
+68,10
@@
void
boot_end(struct boot_handoff*);
void
boot_end(struct boot_handoff*);
void
-boot_cleanup();
+boot_begin_arch_reserve(struct boot_handoff*);
+
+void
+boot_clean_arch_reserve(struct boot_handoff*);
static inline bool
free_memregion(struct boot_mmapent* mmapent)
static inline bool
free_memregion(struct boot_mmapent* mmapent)