On Jan 22, 2008 9:46 PM, Gu Zhongshu <[EMAIL PROTECTED]> wrote: > Hi Mayank: > Thank you for you information. > At last I found it is the problem of forgetting to set permission of > kernel to write the page table that cause this problem. And the cr0_WP > set in cr0 is used to cause this issue. >
Ah ok i remember that, i think. Pay careful attention to the JOS kernel's organization, it matches the actual Linux kernel's implementation in many ways. Even some of the function names are the same, i realize that now as i get to know the Linux kernel more. And make the Bochs assembly-level debugger your best friend! Mayank
