How to map memory ?

Home Forums MIPS Insider How to map memory ?

This topic contains 1 reply, has 2 voices, and was last updated by  ChrisImgtec 2 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #64030


    Hello guys, I love MIPS. It’s simpler and I think it cool when I hear its name.
    I want to port my x86 hobbyst OS to MIPS, but I get stuck in virtual memory management.
    How actually page directory and the entries managed? What instructions should I use?


    mov [addr_of_page_entries],page_frame_to_map
    mov cr3,[addr_to_page_dir]
    ;enable paging
     mov eax, cr0
     or eax, 0x80000000
     mov cr0, eax


    I think, it must be no much difference than Intel. But, I got no enough documentation and example about this.
    Can some one help me, please?



    It’s not like Intel. There are videos that tell you how. Use the following link and select the “TLB” video.

Viewing 2 posts - 1 through 2 (of 2 total)

Forums are currently locked.