Page 1 of 1

printk() error after getting GRUB memory map

Posted: Tue Aug 16, 2016 8:53 pm
by BringerOfShadows
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.

Re: printk() error after getting GRUB memory map

Posted: Tue Aug 16, 2016 9:13 pm
by DeezRamChips
Can you post you printk() function ?
Or tell in wich file it is ?

Re: printk() error after getting GRUB memory map

Posted: Tue Aug 16, 2016 9:34 pm
by BringerOfShadows
it's in debug.cpp. but the problem has been fixed, so don't worry about it.