Solved

Implementaion of Paging in Protected Mode Os

Posted on 2004-04-07
4
234 Views
Last Modified: 2006-11-17
i am developing a protected mode OS as a part of my project. i am currently doing paging...

the whole program is relocated at a virtual addr of 0xc0000000 and loads into physical memory at 0x100000.
the problem is that whenever keyboard interrupt occurs on pressing a key the system resets..

i 've initialized PIC,keyboard,timer,IDT,GDT
uptill now and were working fine without paging...

Please help....
0
Comment
Question by:anoop_cet_cs
4 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 250 total points
ID: 10775763
Hi anoop_cet_cs,

check if your paging maps all programs to system boot code

Sunnycoder
0
 
LVL 10

Assisted Solution

by:Kavar
Kavar earned 250 total points
ID: 10776026
sounds like your not using remappable addresses...

something in your code is not translating an address correctly

lets say you were doing something like

eax=$400000
add eax,0c*100
jmp eax

unless you've done something to update eax base location, the function will only work in the spot its loaded in...

I know this is over simplified, but it does sound to me like you have a non-relative reference somewhere
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question