Exception 13 in bochs
Posted: Mon Apr 18, 2011 10:40 am
I'm using the following snippet in order to load the LDT for the file , and i get an error as interrupt 13
Can anybody please tell me what's the error about .The dump of the error is as below
Code: Select all
void Switch_To_Address_Space(struct User_Context *userContext)
{
ushort_t ldtSelector;
ldtSelector = userContext-> ldtSelector;
__asm__ __volatile__ ( __asm__ __volatile__ (
"Lldt% 0"
:
: "A" (ldtSelector)
);
}