Forum Topic - Using supervisor mode PPC operations from userland: (3 Items)
   
Using supervisor mode PPC operations from userland  
Hello,

I'm debugging an embedded device and would like to interrupt when there is a write to a particular hardware address.  
The easiest way to do this would be to make use of the PPC debug registers, but those are privileged.

It would be nice to have access to those registers without making kernel changes.  Do I have options here?  I realize 
that keeping userland processes out of Ring0 is a major goal, but I'm hoping there's some sort of workaround.
RE: Using supervisor mode PPC operations from userland  
ISR code runs in ring0.

-----Message d'origine-----
De : Timothy Kolar [mailto:community-noreply@qnx.com] 
Envoyé : Friday, November 15, 2013 9:18 PM
À : ostech-core_os
Objet : Using supervisor mode PPC operations from userland

Hello,

I'm debugging an embedded device and would like to interrupt when there is a write to a particular hardware address.  
The easiest way to do this would be to make use of the PPC debug registers, but those are privileged.

It would be nice to have access to those registers without making kernel changes.  Do I have options here?  I realize 
that keeping userland processes out of Ring0 is a major goal, but I'm hoping there's some sort of workaround.



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post106811
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com

RE: Using supervisor mode PPC operations from userland  
So it does.

Thanks!

-T


-----Original Message-----
From: Mario Charest [mailto:community-noreply@qnx.com] 
Sent: Saturday, November 16, 2013 3:25 AM
To: ostech-core_os@community.qnx.com
Subject: RE: Using supervisor mode PPC operations from userland

ISR code runs in ring0.

-----Message d'origine-----
De : Timothy Kolar [mailto:community-noreply@qnx.com]
Envoyé : Friday, November 15, 2013 9:18 PM À : ostech-core_os Objet : Using supervisor mode PPC operations from 
userland

Hello,

I'm debugging an embedded device and would like to interrupt when there is a write to a particular hardware address.  
The easiest way to do this would be to make use of the PPC debug registers, but those are privileged.

It would be nice to have access to those registers without making kernel changes.  Do I have options here?  I realize 
that keeping userland processes out of Ring0 is a major goal, but I'm hoping there's some sort of workaround.



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post106811
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com





_______________________________________________

OSTech
http://community.qnx.com/sf/go/post106814
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com