Andrew: PageFaults and other stuff
Posted: Wed Sep 17, 2003 1:26 am
moved out of the previous thread
initial post by Andrew
initial post by Andrew
but ....
main function:
int main(){
// everything is fine till next line
printf(" booom1 %u", Floppy::TickCounter); //Page Fault
return 0;
}
if i want to print value of the variable which is being changed by the IRQ0 handler i get page fault exception.
why? i can't use it that way? or maybe this is a bug in memory manager? or smth else?
and if i comment that printf line i get general protection error. is there smth i should do before exit?