Skip to question
asic.fyi
DesignVerificationSystemVerilogFirmwareArchitectureInterviews
asic.fyi/Interview questions/Handle a valid demand-page fault

Hardware interview practice

Handle a valid demand-page fault

MediumFirmwareC

A load references a valid virtual address whose page is not resident but may be brought into memory. Which high-level sequence is correct?

Try it in the question bankReason first. Then compare.

Keep this exact question selected while you check your answer and review the full solution.

Practice this question →
Choose one

Answer choices

  1. A. Flush only the data cache and retry with the same missing translation.
  2. B. Continue the load using the virtual address as a physical address.
  3. C. Trap to the OS, validate access, allocate or find a frame and load the page, update translation state, then restart the faulting instruction.
  4. D. Trap to the OS, skip the faulting instruction, and leave the page table unchanged.
asic.fyi · Learn silicon end to end.info@asic.fyi