Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

The following items will be graded for this checkpoint. Programming assignment: src/mmu.c mmu_translate mmu_free mmu_map src/main.c Add mappings for all sections and select the proper permissions...

1 answer below »

The following items will be graded for this checkpoint.

Programming assignment:

  • src/mmu.c
    • mmu_translate
    • mmu_free
    • mmu_map
  • src/main.c
    • Add mappings for all sections and select the proper permissions (RWX).
      • Most of these are already done for you, but you need to double check the mappings.
    • Turn on the MMU (uncomment CSR_WRITE("satp", SATP_KERNEL))

Students must have working knowledge of the following code already written for you:

  • src/lock.c
    • Mutex data structure
    • mutex_trylock
    • mutex_unlock
  • src/page.c
    • page_alloc
    • page_zalloc
    • page_free
  • src/kmalloc.c
    • kmalloc
    • kzalloc
  • sbi/src/*
Answered 13 days After Sep 17, 2022

Solution

Jahir Abbas answered on Sep 26 2022
60 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here