os

Notes on OS memory management

November 27, 2020
os, mmu

tags Operating Systems Memory management requirements # Some the requirements that memory management is intended to satisfy are: Relocation Protection Sharing Logical organization Physical organization

Translating Virtual addresses

November 21, 2020
os, architecture

tags Computer Architecture Operating Systems Translating virtual address space in RISCV in Sv39 Virtual address: 0x7d_beef_cafe Virtual address in binary: 0b0111_1101_1011_1110_1110_1111_1100_1010_1111_1110 VPN[2] VPN[1] VPN[0] 12-bit offset 1_1111_0110 1_1111_0111 0_1111_1100 1010_1111_1110 502 503 252