summaryrefslogtreecommitdiff
path: root/src/kernel/main.h
diff options
context:
space:
mode:
authordzwdz2022-08-06 23:01:35 +0200
committerdzwdz2022-08-06 23:01:35 +0200
commitd3bd832dff6a960938f2948a261ca096c17f516e (patch)
tree039e67eac95caf98c03afee72a0c9b487b67251a /src/kernel/main.h
parent1326affa398914105b7a7352f84f44a740b595ca (diff)
kernel/mem: make the page bitmap cover everything after bss
Diffstat (limited to 'src/kernel/main.h')
-rw-r--r--src/kernel/main.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/kernel/main.h b/src/kernel/main.h
index e4ead31..edceb76 100644
--- a/src/kernel/main.h
+++ b/src/kernel/main.h
@@ -3,9 +3,13 @@
struct kmain_info {
struct {
- void *at; // page aligned
+ void *at; /* page aligned */
size_t size;
- } init; // a boot module loaded by GRUB, containing the initrd driver
+ } init; /* a boot module loaded by GRUB, containing the initrd driver */
+ struct {
+ void *at;
+ size_t size;
+ } fb; /* the framebuffer */
void *memtop;
};