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
feat: a better boot command line parser
[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 93e9e3db6b7c53d424ee6ee8b703c5cd2d00ba6c..a229c454b8f8668251b140eaeab8d1746a13e504 100644
(file)
--- a/
lunaix-os/includes/lunaix/boot_generic.h
+++ b/
lunaix-os/includes/lunaix/boot_generic.h
@@
-41,8
+41,8
@@
struct boot_handoff
ptr_t ksections;
size_t size;
- char*
* argv
;
- size_t
argc
;
+ char*
cmdline
;
+ size_t
len
;
} kexec;
struct
@@
-61,6
+61,9
@@
struct boot_handoff
void
boot_begin(struct boot_handoff*);
+void
+boot_parse_cmdline(struct boot_handoff*);
+
void
boot_end(struct boot_handoff*);