Physical memory loading into UVM
Arthur Isaenko <[email protected]> Wed, 18 Sep 2002 06:59:53 -0700 (PDT)
| Newsgroups | gmane.os.netbsd.ports.arm32 |
|---|---|
| Message-ID | <[email protected]> |
What is right way set physical memory UVM for ? I guess, that's "uvm_page_physload", but I'm in some doubt about that. For the instance, I'm going to port kernel to Psion revo plus. It has ARM710T and 16 Mb RAM in 4 non contiguous memory chunks. LCD buffer is mapped on RAM too. I would like to reuse existing arch/arcm code including pmap, of course. In this case, I only need to define follow consts: #define VM_PHYSSEG_MAX 4 #define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH #define VM_PHYSSEG_NOADD and next, call the uvm_page_physload for define physical memory regions and correct loading them into UVM. Is it correct ? Please advice me. Thanks, Arthur __________________________________________________ Do you Yahoo!? Yahoo! News - Today's headlines http://news.yahoo.com