2010-01-25 17:31:18     Can my application program use functions in the cdefBF537??

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

2010-01-25 17:31:18     Can my application program use functions in the cdefBF537??

Jianxi Fu (UNITED STATES)

Message: 85099   

 

Hi all,

 

Can my application program use functions in the cdefBF537??

 

when I use

 

#include<mach/cdefBF537.h>

 

it tell me that No such file or directly.

 

How should I write my code if I want to include this file?

 

cdefBF537.h

 

Path:

 

uClinux-dist/linux-2.6.x/arch/blackfin/mach-bf537/include/mach

QuoteReplyEditDelete

 

 

2010-01-25 17:33:29     Re: Can my application program use functions in the cdefBF537??

Mike Frysinger (UNITED STATES)

Message: 85100   

 

MMRs are for supervisor (kernel) only

QuoteReplyEditDelete

 

 

2010-01-25 17:39:41     Re: Can my application program use functions in the cdefBF537??

Jianxi Fu (UNITED STATES)

Message: 85101   

 

Mike,

 

Did you mean that the only way to use this head file is that I write a driver first, then use my driver?

QuoteReplyEditDelete

 

 

2010-01-25 17:43:28     Re: Can my application program use functions in the cdefBF537??

Mike Frysinger (UNITED STATES)

Message: 85102   

 

you shouldnt include any cdef/def file directly.  use asm/blackfin.h when writing linux kernel drivers.

Attachments

    Outcomes