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 9 months, 3 weeks ago.

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

    irvan
    Participant

    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?

    Intel:

    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

    MIPS:
    ?

    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?

    #64031

    ChrisImgtec
    Moderator

    It’s not like Intel. There are videos that tell you how. Use the following link and select the “TLB” video.
    https://community.imgtec.com/developers/mips/resources/training-courses/mips-basic-training-course/

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

You must be logged in to reply to this topic.