I got the grub memory map, and then I integrated some screen output code. The code for printk() works on its own, I tested it. But, when I use it after getting the memory map, the decimal and hex output gets weird. And because my gdb isn't really working(can't calculate CFA frame), I cant tell what's going on. I've included the address to my repository below.
https://[email protected]/ ... kslate.git
If anyone can point out what is going on, that would be helpful.
printk() error after getting GRUB memory map
-
- Posts: 15
- Joined: Thu Nov 08, 2012 2:59 am
- DeezRamChips
- Member
- Posts: 132
- Joined: Fri Apr 08, 2016 5:03 am
- Location: atapio.cpp - why won't you work :(
- Contact:
Re: printk() error after getting GRUB memory map
Can you post you printk() function ?
Or tell in wich file it is ?
Or tell in wich file it is ?
My github page: https://github.com/AlexandreRouma
Meme-deving since 420 Bc !
YouTube: https://www.youtube.com/channel/UCyJnOD ... C8Y7pccc6A
Twitter: https://twitter.com/WhatsTheGeekYT
Meme-deving since 420 Bc !
YouTube: https://www.youtube.com/channel/UCyJnOD ... C8Y7pccc6A
Twitter: https://twitter.com/WhatsTheGeekYT
-
- Posts: 15
- Joined: Thu Nov 08, 2012 2:59 am
Re: printk() error after getting GRUB memory map
it's in debug.cpp. but the problem has been fixed, so don't worry about it.