old mode 100644new mode 100755| .. | .. |
|---|
| 28 | 28 | #define DECLSPEC_ALIGN(x) __attribute__ ((aligned(x))) |
|---|
| 29 | 29 | |
|---|
| 30 | 30 | /* Linux Kernel: File Operations: start */ |
|---|
| 31 | | -static INLINE void * osl_os_open_image(char * filename) |
|---|
| 32 | | - { return NULL; } |
|---|
| 33 | | -static INLINE void osl_os_close_image(void * image) |
|---|
| 34 | | - { return; } |
|---|
| 35 | | -static INLINE int osl_os_get_image_block(char * buf, int len, void * image) |
|---|
| 36 | | - { return 0; } |
|---|
| 37 | | -static INLINE int osl_os_image_size(void *image) |
|---|
| 38 | | - { return 0; } |
|---|
| 31 | +extern void * osl_os_open_image(char * filename); |
|---|
| 32 | +extern int osl_os_get_image_block(char * buf, int len, void * image); |
|---|
| 33 | +extern void osl_os_close_image(void * image); |
|---|
| 34 | +extern int osl_os_image_size(void *image); |
|---|
| 39 | 35 | /* Linux Kernel: File Operations: end */ |
|---|
| 40 | 36 | |
|---|
| 41 | 37 | #ifdef BCMDRIVER |
|---|
| .. | .. |
|---|
| 280 | 276 | #define OSL_ENABLE_PREEMPTION(osh) osl_preempt_enable(osh) |
|---|
| 281 | 277 | |
|---|
| 282 | 278 | #if (defined(BCMPCIE) && !defined(DHD_USE_COHERENT_MEM_FOR_RING) && defined(__ARM_ARCH_7A__)) |
|---|
| 279 | + |
|---|
| 283 | 280 | extern void osl_cache_flush(void *va, uint size); |
|---|
| 284 | 281 | extern void osl_cache_inv(void *va, uint size); |
|---|
| 285 | 282 | extern void osl_prefetch(const void *ptr); |
|---|