2
votes
0answers
11 views

If a page's pte is marked with _PAGE_USER bit to 0, does it result in page fault or general_protection exception? [migrated]

I am trying to understand the protection provided by intel x86 MMU architecture. I am confused basically as to when will the MMU raise the page fault(page_fault, int 14) and when will the CPU raise ...
4
votes
1answer
111 views

Why do the data and code segments completely overlap in Linux?

Context: I'm reading "Understanding the Linux kernel, 3d ed", which uses the 2.6.11 kernel. Question: As I understand, the physical address is obtained by translating the linear address, which is ...
3
votes
1answer
343 views

Real mode and loading linux kernel confusing

As far as I know, protected mode will be activated in kernel and in grub stages it still real mode. My misunderstanding is: In real mode, total memory available for use is less than 1MB but how grub ...
6
votes
1answer
2k views

Load Linux bzImage in QEMU?

I compiled a Linux by doing make menuconfig then make and now I have compiled the most recent version of Linux. How can I load the kernel into QEMU?