How to map memory ?

Tagged: ,

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

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

    irvan
    Member

    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?

    2 users thanked author for this post.
    #55730

    ChrisImgtec
    Moderator

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

    MIPS Basic Training Course

Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.