Searched refs:vm_address_t (Results 1 - 25 of 60) sorted by relevance

123

/darwin-on-arm/xnu/osfmk/mach/arm/
H A Dvm_param.h62 #define VM_MIN_ADDRESS ((vm_address_t) 0x00000000)
63 #define VM_MAX_ADDRESS ((vm_address_t) 0x80000000)
65 #define HIGH_EXC_VECTORS ((vm_address_t) 0xFFFF0000)
67 #define VM_MIN_KERNEL_ADDRESS ((vm_address_t) 0x80000000)
69 #define VM_HIGH_KERNEL_WINDOW ((vm_address_t) 0xFFFE0000)
70 #define VM_MAX_KERNEL_ADDRESS ((vm_address_t) 0xFFFEFFFF)
72 #define VM_KERNEL_ADDRESS(va) ((((vm_address_t)(va))>=VM_MIN_KERNEL_ADDRESS) && \
73 (((vm_address_t)(va))<=VM_MAX_KERNEL_ADDRESS))
81 #define VM_MIN_ADDRESS ((vm_address_t) 0x0000000000000000ULL)
82 #define VM_MAX_ADDRESS ((vm_address_t)
[all...]
H A Dmachine_types.defs89 type vm_address_t = uint64_t;
93 type vm_address_t = natural_t;
/darwin-on-arm/xnu/libsyscall/mach/
H A Dmig_deallocate.c60 mig_deallocate(vm_address_t addr, vm_size_t size)
H A Dmig_allocate.c60 mig_allocate(vm_address_t *addr_p, vm_size_t size)
H A Dmach_vm.c98 vm_address_t *address,
110 *address = (vm_address_t)(mach_addr & ((vm_address_t)-1));
119 vm_address_t address,
132 vm_address_t address,
H A Dmach_msg.c397 (vm_address_t *)&bufReply,
407 (vm_address_t *)&bufRequest,
412 (vm_address_t)bufReply,
427 (vm_address_t) bufRequest,
478 (vm_address_t) bufRequest,
481 (vm_address_t) bufReply,
515 (vm_address_t *)&bufReply,
532 (vm_address_t *)&bufRequest,
537 (vm_address_t)bufReply,
620 (vm_address_t) bufReques
[all...]
/darwin-on-arm/xnu/osfmk/mach/
H A Dvm_map.defs93 inout address : vm_address_t;
114 inout address : vm_address_t;
130 address : vm_address_t;
151 address : vm_address_t;
166 address : vm_address_t;
179 address : vm_address_t;
201 address : vm_address_t;
216 source_address : vm_address_t;
218 dest_address : vm_address_t);
230 address : vm_address_t;
[all...]
H A Dmig.h126 vm_address_t reserved; /* reserved for MIG use */
288 extern void mig_allocate(vm_address_t *, vm_size_t);
291 extern void mig_deallocate(vm_address_t, vm_size_t);
H A Drpc.h121 vm_address_t base_addr; /* Address of this struct in user */
H A Dvm_param.h99 #define atop_kernel(x) ((vm_address_t)(x) >> PAGE_SHIFT)
100 #define ptoa_kernel(x) ((vm_address_t)(x) << PAGE_SHIFT)
109 #define atop(x) ((vm_address_t)(x) >> PAGE_SHIFT)
110 #define ptoa(x) ((vm_address_t)(x) << PAGE_SHIFT)
H A Dvm_types.h41 typedef vm_offset_t vm_address_t; typedef
H A Dhost_priv.defs129 address : vm_address_t;
163 inout address : vm_address_t;
192 info : vm_address_t;
H A Dtask.defs315 routine_entry_pt: vm_address_t;
343 basepc : vm_address_t;
344 boundspc : vm_address_t);
/darwin-on-arm/xnu/iokit/Drivers/platform/drvAppleNMI/
H A DAppleNMI.cpp130 nmiIntSource = ml_phys_read((vm_address_t)nmiIntSourceAddr);
132 ml_phys_write((vm_address_t)nmiIntSourceAddr, nmiIntSource);
135 ml_phys_write((vm_address_t)nmiIntSourceAddr, nmiIntSource);
142 nmiIntSource = ml_phys_read((vm_address_t)nmiIntSourceAddr);
144 ml_phys_write((vm_address_t)nmiIntSourceAddr, nmiIntSource);
147 ml_phys_write((vm_address_t)nmiIntSourceAddr, nmiIntSource);
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dvm_allocate.c164 //vm_deallocate( mach_task_self(), (vm_address_t) arena, arenaSize * vm_page_size);
197 vm_allocate( mach_task_self(), (vm_address_t *) &arena, arenaSize * vm_page_size, 1);
199 vm_deallocate( mach_task_self(), (vm_address_t) arena, arenaSize * vm_page_size);
229 if (vm_allocate( mach_task_self(), (vm_address_t *) &arena, arenaSize * vm_page_size, 1))
231 if (vm_deallocate( mach_task_self(), (vm_address_t) arena, arenaSize * vm_page_size))
/darwin-on-arm/xnu/osfmk/mach/i386/
H A Dmachine_types.defs89 type vm_address_t = uint64_t;
93 type vm_address_t = natural_t;
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dmachvm_tests.c26 vm_address_t addr = 0;
37 kret = vm_deallocate(mach_task_self(), (vm_address_t)regionbuffers[4], regionsizes[4]*pagesize);
46 kret = vm_deallocate(mach_task_self(), (vm_address_t)regionbuffers[3], regionsizes[3]*pagesize);
68 kret = vm_read(mach_task_self(), (vm_address_t)regionbuffers[5] + (regionsizes[5]-5)*pagesize, 5*pagesize,
158 kret = vm_write(mach_task_self(), (vm_address_t)regionbuffers[2],
173 vm_address_t addr = (vm_address_t)regionbuffers[5]+7*pagesize;
201 if (addr != (vm_address_t)regionbuffers[5] || size != 10*pagesize) {
230 if (addr != (vm_address_t)regionbuffers[5] || size != 10*pagesize) {
281 vm_address_t addr
[all...]
H A D32bit_inode_tests.c65 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_bufp, (1024 * 5), VM_FLAGS_ANYWHERE);
71 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
139 vm_deallocate(mach_task_self(), (vm_address_t)my_pathp, PATH_MAX);
142 vm_deallocate(mach_task_self(), (vm_address_t)my_bufp, (1024 * 5));
178 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_bufferp, my_buffer_size, VM_FLAGS_ANYWHERE);
288 vm_deallocate(mach_task_self(), (vm_address_t)my_bufferp, my_buffer_size);
H A Dtests.c77 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
114 vm_deallocate(mach_task_self(), (vm_address_t)my_pathp, PATH_MAX);
196 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
202 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_bufp, MY_BUFFER_SIZE, VM_FLAGS_ANYWHERE);
438 vm_deallocate(mach_task_self(), (vm_address_t)my_pathp, PATH_MAX);
441 vm_deallocate(mach_task_self(), (vm_address_t)my_bufp, MY_BUFFER_SIZE);
460 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
619 vm_deallocate(mach_task_self(), (vm_address_t)my_pathp, PATH_MAX);
639 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
645 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)
[all...]
H A Dmemory_tests.c117 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
134 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_test_page_p, my_page_size, VM_FLAGS_ANYWHERE);
179 my_kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_bufp, (my_page_size * 10), VM_FLAGS_ANYWHERE);
444 vm_deallocate(mach_task_self(), (vm_address_t)my_pathp, PATH_MAX);
447 vm_deallocate(mach_task_self(), (vm_address_t)my_test_page_p, my_page_size);
H A Dkqueue_tests.c37 (vm_address_t *)&my_kmsg,
55 vm_deallocate( mach_task_self(), (vm_address_t)my_kmsg, size );
66 (vm_address_t *)&my_kmsg,
81 vm_deallocate( mach_task_self(), (vm_address_t)my_kmsg, PAGE_SIZE );
162 kr = vm_allocate((vm_map_t) mach_task_self(), (vm_address_t*)&my_pathp, PATH_MAX, VM_FLAGS_ANYWHERE);
537 vm_deallocate(mach_task_self(), (vm_address_t)my_pathp, PATH_MAX);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOLib.cpp238 adjustedSize = size + sizeof(vm_size_t) + sizeof(vm_address_t);
262 allocationAddress = (vm_address_t) kalloc(adjustedSize);
266 + (sizeof(vm_size_t) + sizeof(vm_address_t)))
269 *((vm_size_t *)(address - sizeof(vm_size_t) - sizeof(vm_address_t)))
271 *((vm_address_t *)(address - sizeof(vm_address_t)))
291 vm_address_t allocationAddress;
299 adjustedSize = size + sizeof(vm_size_t) + sizeof(vm_address_t);
305 adjustedSize = *((vm_size_t *)( (vm_address_t) address
306 - sizeof(vm_address_t)
[all...]
H A DIOMapper.cpp212 vm_address_t address;
234 vm_address_t address = (vm_address_t) artHandle;
281 assert(!((vm_address_t) IOMapper::gSystem & 3));
293 assert(!((vm_address_t) IOMapper::gSystem & 3));
/darwin-on-arm/xnu/osfmk/arm/
H A Dmodel_dep.c164 panic_print_macho_symbol_name(kernel_mach_header_t *mh, vm_address_t search, const char *module_name)
172 vm_address_t bestaddr = 0, diff, curdiff;
214 curdiff = search - (vm_address_t)sym[i].n_value;
237 panic_print_kmod_symbol_name(vm_address_t search)
259 panic_print_symbol_name(vm_address_t search)
327 panic_print_symbol_name((vm_address_t)frame->caller);
/darwin-on-arm/xnu/bsd/sys/
H A Dubc_internal.h109 vm_address_t csb_mem_kaddr;
188 int ubc_cs_blob_add(vnode_t, cpu_type_t, off_t, vm_address_t, vm_size_t);

Completed in 194 milliseconds

123