Home
last modified time | relevance | path

Searched refs:vmm_aspace_t (Results 1 – 4 of 4) sorted by relevance

/lk-master/kernel/include/kernel/
A Dvm.h197 } vmm_aspace_t; typedef
218 extern vmm_aspace_t _kernel_aspace;
219 static inline vmm_aspace_t *vmm_get_kernel_aspace(void) { in vmm_get_kernel_aspace()
227 status_t vmm_reserve_space(vmm_aspace_t *aspace, const char *name, size_t size, vaddr_t vaddr)
236 status_t vmm_alloc_contiguous(vmm_aspace_t *aspace, const char *name, size_t size, void **ptr, uint…
240 status_t vmm_alloc(vmm_aspace_t *aspace, const char *name, size_t size, void **ptr, uint8_t align_l…
244 status_t vmm_free_region(vmm_aspace_t *aspace, vaddr_t va);
250 status_t vmm_create_aspace(vmm_aspace_t **aspace, const char *name, uint flags)
254 status_t vmm_free_aspace(vmm_aspace_t *aspace)
258 void vmm_context_switch(vmm_aspace_t *oldspace, vmm_aspace_t *newaspace);
[all …]
A Dthread.h23 typedef struct vmm_aspace vmm_aspace_t; typedef
87 vmm_aspace_t *aspace;
/lk-master/kernel/vm/
A Dvmm.c22 vmm_aspace_t _kernel_aspace;
24 static void dump_aspace(const vmm_aspace_t *a);
167 static inline bool check_gap(vmm_aspace_t *aspace, in check_gap()
588 vmm_aspace_t *aspace = calloc(1, sizeof(vmm_aspace_t)); in vmm_create_aspace()
627 status_t vmm_free_aspace(vmm_aspace_t *aspace) { in vmm_free_aspace()
676 void vmm_context_switch(vmm_aspace_t *oldspace, vmm_aspace_t *newaspace) { in vmm_context_switch()
693 vmm_aspace_t *old = t->aspace; in vmm_set_active_aspace()
733 static vmm_aspace_t *test_aspace; in cmd_vmm()
738 vmm_aspace_t *a; in cmd_vmm()
767 vmm_aspace_t *aspace; in cmd_vmm()
[all …]
A Dvm.c110 vmm_aspace_t *aspace = vaddr_to_aspace(ptr); in vaddr_to_paddr()
122 vmm_aspace_t *vaddr_to_aspace(void *ptr) { in vaddr_to_aspace()
153 vmm_aspace_t *aspace = vaddr_to_aspace((void *)argv[2].u); in cmd_vm()
169 vmm_aspace_t *aspace = vaddr_to_aspace((void *)argv[2].u); in cmd_vm()
180 vmm_aspace_t *aspace = vaddr_to_aspace((void *)argv[2].u); in cmd_vm()

Completed in 7 milliseconds