#dead_simple_kernel
1 messages Ā· Page 1 of 1 (latest)
nice error
well i wanted to test the terminal capabilities of flanterm, and i couldn't really think of a proper error
"missing kernel implementation" perhaps? šæ
nah no bitches error is good
time to test on real hardware :3
it worked!
i forgot to take pics, i'll post em soon
that depends what you consider a kernel
and an os
well i wouldn't really call it much of anything at the moment
nice lol
it seems as though elyaroz's printf doesn't have support for printing wide strings? unless i'm completely blind
i even tried to hack a solution together, but it didn't seem to make much of a difference
see besides Firmware Vendor? it's supposed to be EDKII instead of EKIp8 but i think it's skipping and maybe going past the bounds of where it's supposed to be. on real hardware it does a similar thing LNVp8 instead of LENOVO
also, shutting down doesn't work on real hardware and idk why
well, shutting down through the SystemTable->RuntimeServices->ResetSystem() function
is there another way to shut down? currently just halting
you need a working identity map for that to work
ah, i see, would you be able to point me towards some good resources where i can learn about that?
An identity map is just virtual address = physical address
Uefi expects to be running with no address translation
It's kind of hidden in the docs, but they allude to it around the virtual memory runtime services iirc
"hidden in the docs"
oh well, looks like i've got an afternoon of learning ahead of me :D
got a bit distracted, so i didn't really learn much, but got a printout of the memory map working, so that's pog
am i the only person who hasnt printed the memory map before
i'll be honest, i just did it cuz i saw other people doing it, and it seemed like i should get an understanding of how the memory map is laid out while learning about identity maps and all that
also i still need to find out a way of printing out wide strings...
0000000000000000000000000 bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbnnnnnnnnnnnnnnnnnnnnnnn
cat on the keyboard
also thinking of resurrecting this project, except idk where the code is so i'll prolly just start from scratch
i have been struck with the nyaux curse
today i decided to start earnestly working on a kernel and suddenly i am having the most horrible time trying to fall asleep. it's almost quarter to 5 in the morning
GDT initialised š„š„š„
Damn a whole 4 log statements about gdt
yeah i used it for a bit of printf debugging seeing where it was triple faulting
idk im leaving them in cuz i don't have anything else š
oh yeah, interrupts too, but all the ISRs are stubs lol
yeah