Home
last modified time | relevance | path

Searched refs:trusty_app (Results 1 – 15 of 15) sorted by relevance

/trusty/kernel/lib/trusty/
Dtrusty_app.c215 static bool app_mmio_is_allowed(struct trusty_app* trusty_app, in app_mmio_is_allowed() argument
218 if (!(trusty_app->flags & APP_FLAGS_LOADABLE)) { in app_mmio_is_allowed()
231 if (!memcmp(&range->uuid, &trusty_app->props.uuid, sizeof(uuid_t)) && in app_mmio_is_allowed()
258 status_t trusty_app_allow_dma_range(struct trusty_app* app, in trusty_app_allow_dma_range()
299 struct trusty_app* app = current_trusty_app(); in trusty_app_destroy_dma_range()
320 static bool trusty_app_dma_is_allowed_locked(const struct trusty_app* app, in trusty_app_dma_is_allowed_locked()
357 bool trusty_app_dma_is_allowed(const struct trusty_app* app, paddr_t paddr) { in trusty_app_dma_is_allowed()
567 struct trusty_app* trusty_app) { in trusty_thread_create() argument
577 err = vmm_alloc(trusty_app->aspace, "stack", stack_size, (void**)&stack_bot, in trusty_thread_create()
584 err, stack_bot, trusty_app->app_id, trusty_app->props.app_name); in trusty_thread_create()
[all …]
Dsyscall.c173 struct trusty_app* trusty_app = current_trusty_app(); in sys_brk() local
175 return (void*)trusty_app->cur_brk; in sys_brk()
177 if (!trusty_app->used_brk) { in sys_brk()
180 size_t size = round_up(trusty_app->end_brk - trusty_app->start_brk, in sys_brk()
184 trusty_app->aspace, "brk_heap", size, in sys_brk()
185 (void*)&trusty_app->start_brk, 0, vmm_flags, in sys_brk()
189 return (void*)trusty_app->cur_brk; in sys_brk()
191 trusty_app->used_brk = true; in sys_brk()
195 if ((brk >= trusty_app->start_brk) && (brk <= trusty_app->end_brk)) { in sys_brk()
196 trusty_app->cur_brk = brk; in sys_brk()
[all …]
Dtrusty_apps.ld47 KEEP(*(.trusty_app.manifest .trusty_app.manifest.*))
Drules.mk40 $(LOCAL_DIR)/trusty_app.c \
Ductx.c76 static status_t _uctx_startup(struct trusty_app* app);
77 static status_t _uctx_shutdown(struct trusty_app* app);
85 static status_t _uctx_startup(struct trusty_app* app) { in _uctx_startup()
96 static status_t _uctx_shutdown(struct trusty_app* app) { in _uctx_shutdown()
129 struct trusty_app* tapp = current_trusty_app(); in current_uctx()
Dmemref.c107 struct trusty_app* app = current_trusty_app(); in memref_mmap()
Dipc.c419 struct trusty_app* tapp = current_trusty_app(); in sys_port_create()
896 struct trusty_app* tapp = current_trusty_app(); in sys_connect()
/trusty/kernel/lib/trusty/include/lib/trusty/
Dtrusty_app.h135 struct trusty_app;
146 struct trusty_app* app;
149 struct trusty_app { struct
210 status_t trusty_app_setup_mmio(struct trusty_app* trusty_app,
214 void trusty_app_forall(void (*fn)(struct trusty_app* ta, void* data),
220 status_t (*startup)(struct trusty_app* app);
221 status_t (*shutdown)(struct trusty_app* app);
222 status_t (*crash)(struct trusty_app* app, uint32_t reason, bool is_crash);
240 static inline void* trusty_als_get(struct trusty_app* app, int slot_id) { in trusty_als_get()
246 static inline void trusty_als_set(struct trusty_app* app, in trusty_als_set()
[all …]
/trusty/kernel/lib/backtrace/include/lib/backtrace/
Dsymbolize.h49 int trusty_app_symbolize(struct trusty_app* app,
/trusty/device/arm/generic-arm64/project/qemu/
Dlldb_support.py124 trusty_app = context.GetFrame().FindVariable(
126 load_bias = trusty_app.GetChildMemberWithName(
128 uuid_struct = trusty_app.GetChildMemberWithName(
/trusty/kernel/app/trusty/
Dappobj.S35 .section .trusty_app.manifest, "a"
/trusty/kernel/lib/metrics/
Dmetrics.c157 struct trusty_app* app, in report_crash()
197 struct trusty_app* app, in report_exit()
263 static int on_ta_crash(struct trusty_app* app, uint32_t reason, bool is_crash) { in on_ta_crash()
/trusty/kernel/lib/backtrace/
Dbacktrace.c148 struct trusty_app* app, in dump_user_function()
331 struct trusty_app *app = current_trusty_app(); in dump_thread_backtrace()
Dsymbolize.c73 int trusty_app_symbolize(struct trusty_app* app, in trusty_app_symbolize()
/trusty/kernel/app/userscstest/
Duserscstest.c101 static void trusty_app_callback(struct trusty_app* ta, void* status) { in trusty_app_callback()