[okl4-developer] Fast address-space switching on GUMSTIX?
Geoffrey Lee
glee at ok-labs.com
Mon May 26 23:06:58 EST 2008
On Mon, May 26, 2008 at 09:27:17PM +1000, xi yang wrote:
Hi Xi
> > since this will cause domain fault.
>
> >
> > 2) Vtimer and other server, they will create a memsection and map it
> > to the hardware address, it seems that iguana will map this memsection
> > to 0x800X,XXXX, which means after address space switching, there will
> > be a domain fault when you access this area.
> >
> > How to configure iguana to eliminate the overlap mapping? I am not
> > familiar with the internal of iguana.
>
> I grep the code, domain fault is caused by accessing stack and heap,
> which are mapped to 0x800XXX by iguana .
> So, I have two questions
> 1)How to specify the virtual address of stack and heap in SConscripts
The location of the stack and the heap are chosen by the build system
when the boot image is built. In 2.1, the allocator for the stack
and heap locations do not take ARM domains into account, which leads
to the issue you are seeing.
This has since been fixed in the latest version.
> 2)Are there some constrains of memsection_create_fixed() system call
> of iguana. I invoking this system call and always return NULL.
Which platform are you running, and which address do you want to ask
Iguana to return to you?
-gl
> Regards!
> >>
> >> Regards
> >> Abi
> >>
> >
>
> _______________________________________________
> Developer mailing list
> Developer at okl4.org
> https://lists.okl4.org/mailman/listinfo/developer
>
--
More information about the Developer
mailing list