Memory paging and interruptions
Posted: Thu Feb 08, 2007 1:55 am
Well,... I was wondering if it's possible for an application to have no pages to the kernel, but still be able to make a syscall.
For example the application calls :
int $0x80
This calls linux-compatible interruption.
Now I don't want to page the interruption handler to the application. It seems that cr0 and cr3 aren't altered when int is called, so I was wondering if it's possible for the system to jump to a non-mapped area upon receiving an interrupt. Obviously no, but still... I wonder if it's really impossible.
Any clue about that is welcome
For example the application calls :
int $0x80
This calls linux-compatible interruption.
Now I don't want to page the interruption handler to the application. It seems that cr0 and cr3 aren't altered when int is called, so I was wondering if it's possible for the system to jump to a non-mapped area upon receiving an interrupt. Obviously no, but still... I wonder if it's really impossible.
Any clue about that is welcome