Subject: Physical memory loading into UVM
To: None <port-arm32@netbsd.org>
From: Arthur Isaenko <isartw@yahoo.com>
List: port-arm32
Date: 09/18/2002 06:59:53
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