forked from len0rd/rockbox
android/ypr0: Merge kernel-*.c to generic kernel-unix.c.
Change-Id: Ife3fceb53829ef4e13bae73d8d2f10d7e56d484d
This commit is contained in:
parent
a0d54b09a6
commit
954cd771fb
6 changed files with 55 additions and 144 deletions
|
@ -18,22 +18,16 @@
|
|||
* KIND, either express or implied.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __SYSTEM_TARGET_H__
|
||||
#define __SYSTEM_TARGET_H__
|
||||
|
||||
#define disable_irq()
|
||||
#define enable_irq()
|
||||
#define disable_irq_save() 0
|
||||
#define restore_irq(level) (void)level
|
||||
#include "kernel-unix.h"
|
||||
|
||||
static inline void commit_dcache(void) {}
|
||||
static inline void commit_discard_dcache(void) {}
|
||||
static inline void commit_discard_idcache(void) {}
|
||||
|
||||
void power_off(void);
|
||||
void wait_for_interrupt(void);
|
||||
void interrupt(void);
|
||||
|
||||
/* don't pull in jni.h for every user of this file, it should be only needed
|
||||
* within the target tree (if at all)
|
||||
* define this before #including system.h or system-target.h */
|
||||
|
@ -47,4 +41,3 @@ extern JNIEnv* getJavaEnvironment(void);
|
|||
#endif /* __SYSTEM_TARGET_H__ */
|
||||
|
||||
#define NEED_GENERIC_BYTESWAPS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue