- What is the BIOS’s role in the xv6 boot process?
- A. Load the xv6 user shell
- B. Load the bootloader from the first sector of the disk
- C. Initialize paging for the kernel
- D. Jump to the kernel’s entry point directly
- Which of the following files in xv6 contains the first code executed by the CPU after power on?
- A. bootmain.c
- B. main.c
- C. bootasm.S
- D. entry.S
- What is the purpose of the Multiboot header in the kernel image?
- A. To load user programs
- B. To define where the kernel should be loaded in memory
- C. To provide BIOS routines to the kernel
- D. To list running processes before boot
- In xv6, what is the purpose of
lgdt gdtdesc in bootasm.S?
- A. To switch to long mode
- B. To initialize the kernel stack
- C. To load the Global Descriptor Table before enabling protected mode
- D. To load page tables into CR3
- Why does
bootmain() first load 8192 bytes from disk to memory address 0x10000?