Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/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…
Dseos.h173 struct AppHdr *osAppSegmentCreate(uint32_t size);
174 bool osAppSegmentClose(struct AppHdr *app, uint32_t segSize, uint32_t segState);
175 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState);
177 bool osAppWipeData(struct AppHdr *app);
178 struct Segment *osGetSegment(const struct AppHdr *app);
191 static inline struct AppHdr *osSegmentGetData(const struct Segment *seg) in osSegmentGetData()
193 return (struct AppHdr*)(&seg[1]); in osSegmentGetData()
227 static inline uint32_t osAppSegmentGetState(const struct AppHdr *app) in osAppSegmentGetState()
275 SET_INTERNAL_LOCATION(location, ".internal_app_init")static const struct AppHdr \
Dtoolchain.h48 …PP_ENTRY _Pragma(PRAGMA_HELPER(location,".internal_app_init",)) __root static const struct AppHdr
/device/google/contexthub/firmware/src/cpu/cortexm4f/
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()
207 void cpuAppHandle(const struct AppHdr *app, struct PlatAppInfo *platInfo, uint32_t evtType, const v… in cpuAppHandle()
/device/google/contexthub/firmware/src/
Dseos.c80 const struct AppHdr *app;
436 bool osAppSegmentSetState(const struct AppHdr *app, uint32_t segState) in osAppSegmentSetState()
480 struct Segment *osGetSegment(const struct AppHdr *app) in osGetSegment()
517 struct AppHdr *osAppSegmentCreate(uint32_t size) in osAppSegmentCreate()
521 struct AppHdr *app; in osAppSegmentCreate()
539 bool osAppSegmentClose(struct AppHdr *app, uint32_t segDataSize, uint32_t segState) in osAppSegmentClose()
593 bool osAppWipeData(struct AppHdr *app) in osAppWipeData()
628 static inline bool osAppIsValid(const struct AppHdr *app) in osAppIsValid()
636 static bool osExtAppIsValid(const struct AppHdr *app, uint32_t len) in osExtAppIsValid()
645 static bool osIntAppIsValid(const struct AppHdr *app) in osIntAppIsValid()
[all …]
DnanohubCommand.c74 struct AppHdr *start; // start of flash segment, where to write
311 const struct AppHdr *app = cookie; in deferredUpdateOs()
331 static AppSecErr updateKey(const struct AppHdr *app) in updateKey()
401 struct AppHdr *app; in firmwareFinish()
465 osAppWipeData((struct AppHdr*)app); in firmwareFinish()
/device/google/contexthub/firmware/inc/platform/stm32f4xx/
Dplat.h43 static inline const struct AppHdr* platGetInternalAppList(uint32_t *numAppsP) in platGetInternalAppList()
45 extern const struct AppHdr __internal_app_start, __internal_app_end; in platGetInternalAppList()
/device/google/contexthub/lib/include/nanohub/
Dnanohub.h82 #define FLASH_RELOC_OFFSET offsetof(struct AppHdr, sect) // used by appSupport.c at run time
98 struct AppHdr { struct