OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Apr 18, 2024 5:53 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Linking c file without including it causes reboot cycle.
PostPosted: Fri Jun 02, 2017 2:02 pm 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
Paging can be quite tricky, especially when you are trying to get to grips with the concept. I think you'll find gdb a great help here; put in a few judicious halt instructions (an endless loop will do the job) and you can then inspect the page tables in memory. Also, have a look at the qemu documentation on its built-in monitor, which also has a number of useful commands. (For example, "info mem" will show you the memory regions that are mapped.)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot] and 118 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group