Re: Fiasco.oc & trustzone

Adam Lackorzynski <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
On Wed Sep 19, 2012 at 17:41:01 +0400, Nikolay Golikov wrote:
> Now I have another problem: I map aipstz-1 registers with
> l4io_request_iomem(base, AISPTZ_SIZE, L4IO_MEM_NONCACHED, &_vbase);
> (base = 0x53F00000, AISPTZ_SIZE = 0x4000)
> It return 0.
> 
> But when I try to write to mapped registers my program stopping:
> *((volatile l4_umword_t *)(_vbase + reg)) = val
> (reg = 0x0, val = 0x77777777)

Could you check whether it page-faults permanently? (Enable page-fault
logging in jdb: P*, let it go, then check trace-buffer via shift-T.)
Also try using l4_mem_write as it could be that writing from userspace
does not work.

> This is my io config:

Looks ok.



Adam
-- 
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.