You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
kernel_samsung_sm7125/include/linux/uh.h

35 lines
774 B

#ifndef __UH_H__
#define __UH_H__
#ifndef __ASSEMBLY__
#ifndef LINKER_SCRIPT
/* For uH Command */
#define APP_INIT 0
#define APP_SAMPLE 1
#define APP_RKP 2
#define APP_HDM 6
#define UH_APP_INIT UH_APPID(APP_INIT)
#define UH_APP_SAMPLE UH_APPID(APP_SAMPLE)
#define UH_APP_RKP UH_APPID(APP_RKP)
#define UH_APP_HDM UH_APPID(APP_HDM)
#define UH_PREFIX UL(0xc300c000)
#define UH_APPID(APP_ID) ((UL(APP_ID) & UL(0xFF)) | UH_PREFIX)
/* For uH Memory */
#define UH_NUM_MEM 0x00
#define UH_LOG_START 0xB0200000
#define UH_LOG_SIZE 0x40000
int uh_call(u64 app_id, u64 command, u64 arg0, u64 arg1, u64 arg2, u64 arg3);
struct test_case_struct {
int (* fn)(void); //test case func
char * describe;
};
#endif //LINKER_SCRIPT
#endif //__ASSEMBLY__
#endif //__UH_H__