Home
last modified time | relevance | path

Searched refs:AppHdr (Results 1 – 11 of 11) sorted by relevance

/device/google/contexthub/firmware/os/inc/
Dcpu.h38 bool cpuInternalAppLoad(const struct AppHdr *appHdr, struct PlatAppInfo *platInfo);
39 bool cpuAppLoad(const struct AppHdr *appHdr, struct PlatAppInfo *platInfo);
40 void cpuAppUnload(const struct AppHdr *appHdr, struct PlatAppInfo *platInfo);
41 bool cpuAppInit(const struct AppHdr *appHdr, struct PlatAppInfo *platInfo, uint32_t tid);
42 void cpuAppEnd(const struct AppHdr *appHdr, struct PlatAppInfo *platInfo);
43 void cpuAppHandle(const struct AppHdr *appHdr, struct PlatAppInfo *platInfo, uint32_t evtType, cons…
44 void cpuAppInvoke(const struct AppHdr *app, struct PlatAppInfo *platInfo,
Dseos.h187 struct AppHdr *osAppSegmentCreate(uint32_t size);
188 bool osAppSegmentClose(struct AppHdr *app, uint32_t segSize, uint32_t segState);
189 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState);
191 bool osAppWipeData(struct AppHdr *app);
194 struct Segment *osGetSegment(const struct AppHdr *app);
206 static inline struct AppHdr *osSegmentGetData(const struct Segment *seg) in osSegmentGetData()
208 return (struct AppHdr*)(&seg[1]); in osSegmentGetData()
244 static inline uint32_t osAppSegmentGetState(const struct AppHdr *app) in osAppSegmentGetState()
249 static inline uint32_t osAppSegmentGetCrc(const struct AppHdr *app) in osAppSegmentGetCrc()
254 static inline uint32_t osAppSegmentCalcCrcResidue(const struct AppHdr *app) in osAppSegmentCalcCrcResidue()
[all …]
Dseos_priv.h54 const struct AppHdr *app;
113 typedef bool (*appMatchFunc)(const void *cookie, const struct AppHdr *);
Dtoolchain.h48 …PP_ENTRY _Pragma(PRAGMA_HELPER(location,".internal_app_init",)) __root static const struct AppHdr
/device/google/contexthub/firmware/os/cpu/cortexm4/
DappSupport.c134 bool cpuInternalAppLoad(const struct AppHdr *appHdr, struct PlatAppInfo *platInfo) in cpuInternalAppLoad()
141 bool cpuAppLoad(const struct AppHdr *app, struct PlatAppInfo *platInfo) in cpuAppLoad()
170 void cpuAppUnload(const struct AppHdr *app, struct PlatAppInfo *platInfo) in cpuAppUnload()
191 bool cpuAppInit(const struct AppHdr *app, struct PlatAppInfo *platInfo, uint32_t tid) in cpuAppInit()
199 void cpuAppEnd(const struct AppHdr *app, struct PlatAppInfo *platInfo) in cpuAppEnd()
208 void cpuAppHandle(const struct AppHdr *app, struct PlatAppInfo *platInfo, uint32_t evtType, const v… in cpuAppHandle()
216 void cpuAppInvoke(const struct AppHdr *app, struct PlatAppInfo *platInfo, in cpuAppInvoke()
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/
Dplat.h45 static inline const struct AppHdr* platGetInternalAppList(uint32_t *numAppsP) in platGetInternalAppList()
47 extern const struct AppHdr __internal_app_start, __internal_app_end; in platGetInternalAppList()
/device/google/contexthub/firmware/os/core/
Dseos.c472 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState) in osAppSegmentSetState()
534 struct Segment *osGetSegment(const struct AppHdr *app) in osGetSegment()
573 struct AppHdr *osAppSegmentCreate(uint32_t size) in osAppSegmentCreate()
577 struct AppHdr *app; in osAppSegmentCreate()
595 bool osAppSegmentClose(struct AppHdr *app, uint32_t segDataSize, uint32_t segState) in osAppSegmentClose()
649 bool osAppWipeData(struct AppHdr *app) in osAppWipeData()
684 static inline bool osAppIsValid(const struct AppHdr *app) in osAppIsValid()
692 static bool osExtAppIsValid(const struct AppHdr *app, uint32_t len) in osExtAppIsValid()
701 static bool osIntAppIsValid(const struct AppHdr *app) in osIntAppIsValid()
708 static inline bool osExtAppErase(const struct AppHdr *app) in osExtAppErase()
[all …]
DnanohubCommand.c87 struct AppHdr *start; // start of flash segment, where to write
100 static struct AppHdr *mApp;
331 const struct AppHdr *app = cookie; in deferredUpdateOs()
354 static AppSecErr updateKey(const struct AppHdr *app) in updateKey()
424 struct AppHdr *app; in firmwareFinish()
491 osAppWipeData((struct AppHdr*)app); in firmwareFinish()
1480 static int processAppTags(const struct AppHdr *app, uint32_t crc, uint32_t size, uint8_t *data, uin… in processAppTags()
1586 const struct AppHdr *internal; in halAppInfo()
Dnanohub_chre.c57 const struct AppHdr *app = task ? task->app : NULL; in osChreGetAppId()
/device/google/contexthub/firmware/os/platform/native/inc/plat/
Dplat.h26 const struct AppHdr* platGetInternalAppList(uint32_t *numAppsP);
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h123 #define FLASH_RELOC_OFFSET offsetof(struct AppHdr, sect) // used by appSupport.c at run time
139 struct AppHdr { struct