diff options
author | Freya Murphy <freya@freyacat.org> | 2024-01-29 13:22:50 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-01-29 13:22:50 -0500 |
commit | e71a141533c742d05c0612d3a87ffb3810a4b5de (patch) | |
tree | 06f8b5f8d33b287e8443caa65dea4abb64a5d3c4 /src/kmain.c | |
parent | changes (diff) | |
download | corn-e71a141533c742d05c0612d3a87ffb3810a4b5de.tar.gz corn-e71a141533c742d05c0612d3a87ffb3810a4b5de.tar.bz2 corn-e71a141533c742d05c0612d3a87ffb3810a4b5de.zip |
memory works
Diffstat (limited to 'src/kmain.c')
-rw-r--r-- | src/kmain.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kmain.c b/src/kmain.c index 42d8ea5..4bd2190 100644 --- a/src/kmain.c +++ b/src/kmain.c @@ -10,6 +10,7 @@ void kmain(struct boot_info *info) { memory_init(info->map); //*(char*)(0xB8002 + 0x20'0000) = 'd'; itoa((long)info, buf, 16); + itoa(*(long*)info, buf, 16); //fb_init(1024, 768); serial_out_str(buf); } |