2008-12-13 03:05:46     bfin_read16 in kernel driver - xenomai

Document created by Aaronwu Employee on Aug 9, 2013
Version 1Show Document
  • View in full screen mode

2008-12-13 03:05:46     bfin_read16 in kernel driver - xenomai

Jan Kowalski (POLAND)

Message: 66678   

 

Hi,

 

I've got problem with bfin_read16 (kernel driver-xenomai), when I am using bfin_read16 to read a few bytes (one after another), only first one is valid, or other are wrong (f, or 0). Any idea why?

 

Regards

 

M

QuoteReplyEditDelete

 

 

2008-12-13 11:04:42     Re: bfin_read16 in kernel driver - xenomai

Mike Frysinger (UNITED STATES)

Message: 66694   

 

bfin_read16() is merely a 16bit load.  so there isnt going to be a bug in it.

 

P0.L = LO(addr); P0.H = HI(addr); R0 = W[P0];

Attachments

    Outcomes