Home
last modified time | relevance | path

Searched refs:AppHdr (Results 1 – 10 of 10) 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.h180 struct AppHdr *osAppSegmentCreate(uint32_t size);
181 bool osAppSegmentClose(struct AppHdr *app, uint32_t segSize, uint32_t segState);
182 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState);
184 bool osAppWipeData(struct AppHdr *app);
185 struct Segment *osGetSegment(const struct AppHdr *app);
198 static inline struct AppHdr *osSegmentGetData(const struct Segment *seg) in osSegmentGetData()
200 return (struct AppHdr*)(&seg[1]); in osSegmentGetData()
234 static inline uint32_t osAppSegmentGetState(const struct AppHdr *app) in osAppSegmentGetState()
284 SET_INTERNAL_LOCATION(location, ".internal_app_init")static const struct AppHdr \
Dseos_priv.h52 const struct AppHdr *app;
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.c450 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState) in osAppSegmentSetState()
494 struct Segment *osGetSegment(const struct AppHdr *app) in osGetSegment()
533 struct AppHdr *osAppSegmentCreate(uint32_t size) in osAppSegmentCreate()
537 struct AppHdr *app; in osAppSegmentCreate()
555 bool osAppSegmentClose(struct AppHdr *app, uint32_t segDataSize, uint32_t segState) in osAppSegmentClose()
609 bool osAppWipeData(struct AppHdr *app) in osAppWipeData()
644 static inline bool osAppIsValid(const struct AppHdr *app) in osAppIsValid()
652 static bool osExtAppIsValid(const struct AppHdr *app, uint32_t len) in osExtAppIsValid()
661 static bool osIntAppIsValid(const struct AppHdr *app) in osIntAppIsValid()
668 static inline bool osExtAppErase(const struct AppHdr *app) in osExtAppErase()
[all …]
DnanohubCommand.c79 struct AppHdr *start; // start of flash segment, where to write
319 const struct AppHdr *app = cookie; in deferredUpdateOs()
342 static AppSecErr updateKey(const struct AppHdr *app) in updateKey()
412 struct AppHdr *app; in firmwareFinish()
476 osAppWipeData((struct AppHdr*)app); in firmwareFinish()
Dnanohub_chre.c55 const struct AppHdr *app = task ? task->app : NULL; in osChreGetAppId()
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h111 #define FLASH_RELOC_OFFSET offsetof(struct AppHdr, sect) // used by appSupport.c at run time
127 struct AppHdr { struct