printk() error after getting GRUB memory map

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
BringerOfShadows
Posts: 15
Joined: Thu Nov 08, 2012 2:59 am

printk() error after getting GRUB memory map

Post 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.
User avatar
DeezRamChips
Member
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

Post by DeezRamChips »

Can you post you printk() function ?
Or tell in wich file it is ?
BringerOfShadows
Posts: 15
Joined: Thu Nov 08, 2012 2:59 am

Re: printk() error after getting GRUB memory map

Post by BringerOfShadows »

it's in debug.cpp. but the problem has been fixed, so don't worry about it.
Post Reply