/haiku/src/system/kernel/arch/riscv64/ |
H A D | RISCV64VMTranslationMap.h | 32 virtual addr_t MappedSize() const; 33 virtual size_t MaxPagesNeededToMap(addr_t start, 34 addr_t end) const; 36 virtual status_t Map(addr_t virtualAddress, 40 virtual status_t Unmap(addr_t start, addr_t end); 42 virtual status_t DebugMarkRangePresent(addr_t start, addr_t end, 45 virtual status_t UnmapPage(VMArea* area, addr_t address, 47 virtual void UnmapPages(VMArea* area, addr_t base, 53 virtual status_t Query(addr_t virtualAddress, 56 virtual status_t QueryInterrupt(addr_t virtualAddress, [all …]
|
/haiku/src/system/kernel/arch/ppc/paging/classic/ |
H A D | PPCVMTranslationMapClassic.h | 26 page_table_entry* LookupPageTableEntry(addr_t virtualAddress); 27 bool RemovePageTableEntry(addr_t virtualAddress); 29 virtual size_t MaxPagesNeededToMap(addr_t start, 30 addr_t end) const; 32 virtual status_t Map(addr_t virtualAddress, 36 virtual status_t Unmap(addr_t start, addr_t end); 38 virtual status_t RemapAddressRange(addr_t *_virtualAddress, 41 virtual status_t DebugMarkRangePresent(addr_t start, addr_t end, 44 virtual status_t UnmapPage(VMArea* area, addr_t address, 46 virtual void UnmapPages(VMArea* area, addr_t base, [all …]
|
/haiku/src/system/kernel/arch/ppc/paging/460/ |
H A D | PPCVMTranslationMap460.h | 26 page_table_entry* LookupPageTableEntry(addr_t virtualAddress); 27 bool RemovePageTableEntry(addr_t virtualAddress); 29 virtual size_t MaxPagesNeededToMap(addr_t start, 30 addr_t end) const; 32 virtual status_t Map(addr_t virtualAddress, 36 virtual status_t Unmap(addr_t start, addr_t end); 38 virtual status_t RemapAddressRange(addr_t *_virtualAddress, 41 virtual status_t DebugMarkRangePresent(addr_t start, addr_t end, 44 virtual status_t UnmapPage(VMArea* area, addr_t address, 46 virtual void UnmapPages(VMArea* area, addr_t base, [all …]
|
/haiku/headers/private/kernel/vm/ |
H A D | VMTranslationMap.h | 32 virtual addr_t MappedSize() const = 0; 33 virtual size_t MaxPagesNeededToMap(addr_t start, 34 addr_t end) const = 0; 36 virtual status_t Map(addr_t virtualAddress, 40 virtual status_t Unmap(addr_t start, addr_t end) = 0; 42 virtual status_t DebugMarkRangePresent(addr_t start, addr_t end, 46 virtual status_t UnmapPage(VMArea* area, addr_t address, 48 virtual void UnmapPages(VMArea* area, addr_t base, 54 virtual status_t Query(addr_t virtualAddress, 57 virtual status_t QueryInterrupt(addr_t virtualAddress, [all …]
|
/haiku/src/system/kernel/arch/arm/paging/32bit/ |
H A D | ARMVMTranslationMap32Bit.h | 21 virtual size_t MaxPagesNeededToMap(addr_t start, 22 addr_t end) const; 24 virtual status_t Map(addr_t virtualAddress, 28 virtual status_t Unmap(addr_t start, addr_t end); 30 virtual status_t DebugMarkRangePresent(addr_t start, addr_t end, 33 virtual status_t UnmapPage(VMArea* area, addr_t address, 35 virtual void UnmapPages(VMArea* area, addr_t base, 41 virtual status_t Query(addr_t virtualAddress, 44 virtual status_t QueryInterrupt(addr_t virtualAddress, 48 virtual status_t Protect(addr_t base, addr_t top, [all …]
|
/haiku/src/system/kernel/arch/x86/paging/pae/ |
H A D | X86VMTranslationMapPAE.h | 24 virtual size_t MaxPagesNeededToMap(addr_t start, 25 addr_t end) const; 27 virtual status_t Map(addr_t virtualAddress, 31 virtual status_t Unmap(addr_t start, addr_t end); 33 virtual status_t DebugMarkRangePresent(addr_t start, addr_t end, 36 virtual status_t UnmapPage(VMArea* area, addr_t address, 38 virtual void UnmapPages(VMArea* area, addr_t base, 44 virtual status_t Query(addr_t virtualAddress, 47 virtual status_t QueryInterrupt(addr_t virtualAddress, 51 virtual status_t Protect(addr_t base, addr_t top, [all …]
|
/haiku/src/system/kernel/arch/x86/paging/32bit/ |
H A D | X86VMTranslationMap32Bit.h | 21 virtual size_t MaxPagesNeededToMap(addr_t start, 22 addr_t end) const; 24 virtual status_t Map(addr_t virtualAddress, 28 virtual status_t Unmap(addr_t start, addr_t end); 30 virtual status_t DebugMarkRangePresent(addr_t start, addr_t end, 33 virtual status_t UnmapPage(VMArea* area, addr_t address, 35 virtual void UnmapPages(VMArea* area, addr_t base, 41 virtual status_t Query(addr_t virtualAddress, 44 virtual status_t QueryInterrupt(addr_t virtualAddress, 48 virtual status_t Protect(addr_t base, addr_t top, [all …]
|
/haiku/src/system/kernel/arch/x86/paging/64bit/ |
H A D | X86VMTranslationMap64Bit.h | 22 virtual size_t MaxPagesNeededToMap(addr_t start, 23 addr_t end) const; 25 virtual status_t Map(addr_t virtualAddress, 29 virtual status_t Unmap(addr_t start, addr_t end); 31 virtual status_t DebugMarkRangePresent(addr_t start, addr_t end, 34 virtual status_t UnmapPage(VMArea* area, addr_t address, 36 virtual void UnmapPages(VMArea* area, addr_t base, 42 virtual status_t Query(addr_t virtualAddress, 45 virtual status_t QueryInterrupt(addr_t virtualAddress, 49 virtual status_t Protect(addr_t base, addr_t top, [all …]
|
/haiku/headers/private/kernel/ |
H A D | elf.h | 21 addr_t address; 31 addr_t *_entry); 35 addr_t *_entry); 42 status_t elf_debug_lookup_symbol_address(addr_t address, addr_t *_baseAddress, 45 status_t elf_debug_lookup_user_symbol_address(Team* team, addr_t address, 46 addr_t *_baseAddress, const char **_symbolName, 48 addr_t elf_debug_lookup_symbol(const char* searchName); 51 status_t elf_get_image_info_for_address(addr_t address, image_info* info); 52 image_id elf_create_memory_image(const char* imageName, addr_t text, 53 size_t textSize, addr_t data, size_t dataSize); [all …]
|
/haiku/src/system/kernel/arch/ppc/ |
H A D | arch_vm_translation_map.cpp | 128 page_table_entry* LookupPageTableEntry(addr_t virtualAddress); 129 bool RemovePageTableEntry(addr_t virtualAddress); 134 virtual addr_t MappedSize() const; 135 virtual size_t MaxPagesNeededToMap(addr_t start, 136 addr_t end) const; 138 virtual status_t Map(addr_t virtualAddress, 142 virtual status_t Unmap(addr_t start, addr_t end); 144 virtual status_t UnmapPage(VMArea* area, addr_t address, 147 virtual status_t Query(addr_t virtualAddress, 150 virtual status_t QueryInterrupt(addr_t virtualAddress, [all …]
|
H A D | arch_cpu.cpp | 113 arch_cpu_invalidate_TLB_range(addr_t start, addr_t end) in arch_cpu_invalidate_TLB_range() 128 arch_cpu_invalidate_TLB_list(addr_t pages[], int num_pages) in arch_cpu_invalidate_TLB_list() 151 addr_t address = 0; in arch_cpu_global_TLB_invalidate() 180 addr_t *faultHandler) in arch_cpu_user_memcpy() 184 addr_t oldFaultHandler = *faultHandler; in arch_cpu_user_memcpy() 187 if (ppc_set_fault_handler(faultHandler, (addr_t)&&error)) in arch_cpu_user_memcpy() 213 arch_cpu_user_strlcpy(char *to, const char *from, size_t size, addr_t *faultHandler) in arch_cpu_user_strlcpy() 216 addr_t oldFaultHandler = *faultHandler; in arch_cpu_user_strlcpy() 219 if (ppc_set_fault_handler(faultHandler, (addr_t)&&error)) in arch_cpu_user_strlcpy() 244 arch_cpu_user_memset(void *s, char c, size_t count, addr_t *faultHandler) in arch_cpu_user_memset() [all …]
|
/haiku/src/system/kernel/arch/m68k/paging/040/ |
H A D | M68KVMTranslationMap040.h | 20 virtual size_t MaxPagesNeededToMap(addr_t start, 21 addr_t end) const; 23 virtual status_t Map(addr_t virtualAddress, 27 virtual status_t Unmap(addr_t start, addr_t end); 29 virtual status_t UnmapPage(VMArea* area, addr_t address, 31 virtual void UnmapPages(VMArea* area, addr_t base, 37 virtual status_t Query(addr_t virtualAddress, 40 virtual status_t QueryInterrupt(addr_t virtualAddress, 44 virtual status_t Protect(addr_t base, addr_t top, 47 virtual status_t ClearFlags(addr_t virtualAddress, [all …]
|
/haiku/src/system/kernel/arch/sparc/ |
H A D | arch_thread.cpp | 49 addr_t *kstack = (addr_t *)t->kernel_stack_base; in arch_thread_init_kthread_stack() 50 addr_t *kstackTop = (addr_t *)t->kernel_stack_base; in arch_thread_init_kthread_stack() 55 memset((void *)((addr_t)kstack + KERNEL_STACK_GUARD_PAGES * B_PAGE_SIZE), 0, in arch_thread_init_kthread_stack() 67 kstackTop = (addr_t*)((addr_t)kstackTop & ~0xf); in arch_thread_init_kthread_stack() 73 kstackTop[0] = (addr_t)&m68k_kernel_thread_root; in arch_thread_init_kthread_stack() 77 kstackTop[3] = (addr_t)entry_func; in arch_thread_init_kthread_stack() 78 kstackTop[4] = (addr_t)start_func; in arch_thread_init_kthread_stack() 79 kstackTop[5] = (addr_t)exit_func; in arch_thread_init_kthread_stack() 112 arch_thread_enter_userspace(Thread *thread, addr_t entry, void *arg1, void *arg2) in arch_thread_enter_userspace()
|
/haiku/src/system/boot/platform/efi/ |
H A D | mmu.h | 32 extern addr_t get_next_virtual_address(size_t size); 33 extern addr_t get_current_virtual_address(); 39 bool mmu_next_region(void** cookie, addr_t* vaddr, phys_addr_t* paddr, size_t* size); 41 extern addr_t mmu_map_physical_memory(addr_t physicalAddress, size_t size, 44 extern status_t platform_kernel_address_to_bootloader_address(addr_t address, 48 addr_t *_result); 58 inline addr_t 59 fix_address(addr_t address) in fix_address() 61 addr_t result; in fix_address()
|
/haiku/src/system/boot/platform/bios_ia32/ |
H A D | bios.h | 29 #define ADDRESS_SEGMENT(address) ((addr_t)(address) >> 4) 30 #define ADDRESS_OFFSET(address) ((addr_t)(address) & 0xf) 32 (((addr_t)(segment) << 4) + (addr_t)(offset)) 34 LINEAR_ADDRESS((addr_t)(segmented) >> 16, (addr_t)(segmented) & 0xffff) 37 static const addr_t kDataSegmentScratch = 0x10020; // about 768 bytes 38 static const addr_t kDataSegmentBase = 0x10000; 39 static const addr_t kExtraSegmentScratch = 0x2000; // about 24 kB
|
/haiku/src/system/kernel/vm/ |
H A D | VMUserAddressSpace.h | 16 VMUserAddressSpace(team_id id, addr_t base, 23 virtual VMArea* LookupArea(addr_t address) const; 24 virtual VMArea* FindClosestArea(addr_t address, bool less) 50 virtual status_t UnreserveAddressRange(addr_t address, 59 static addr_t _RandomizeAddress(addr_t start, addr_t end, 62 status_t _InsertAreaIntoReservedRegion(addr_t start, 65 status_t _InsertAreaSlot(addr_t start, addr_t size, 66 addr_t end, uint32 addressSpec, 71 static const addr_t kMaxRandomize; 72 static const addr_t kMaxInitialRandomize; [all …]
|
/haiku/src/system/boot/platform/amiga_m68k/ |
H A D | mmu.h | 21 extern addr_t mmu_map_physical_memory(addr_t physicalAddress, size_t size, uint32 flags); 25 extern addr_t mmu_get_next_page_tables(); 31 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms); 33 status_t (*load_rp)(addr_t pa); 36 status_t (*add_page_table)(addr_t virtualAddress); 37 void (*unmap_page)(addr_t virtualAddress); 38 void (*map_page)(addr_t virtualAddress, addr_t pa, uint32 flags);
|
H A D | mmu.cpp | 89 addr_t gPageRoot = 0; 91 static addr_t sNextPhysicalAddress = 0x100000; 92 static addr_t sNextVirtualAddress = KERNEL_LOAD_BASE + kMaxKernelSize; 93 static addr_t sMaxVirtualAddress = KERNEL_LOAD_BASE /*+ 0x400000*/; 96 static addr_t sNextPageTableAddress = 0x90000; 103 static addr_t 106 addr_t address = sNextVirtualAddress; in get_next_virtual_address() 114 static addr_t 117 addr_t address = sNextPhysicalAddress; in get_next_physical_address() 125 static addr_t [all …]
|
/haiku/src/system/boot/platform/next_m68k/ |
H A D | mmu.h | 22 extern addr_t mmu_map_physical_memory(addr_t physicalAddress, size_t size, uint32 flags); 26 extern addr_t mmu_get_next_page_tables(); 32 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms); 34 status_t (*load_rp)(addr_t pa); 37 status_t (*add_page_table)(addr_t virtualAddress); 38 void (*unmap_page)(addr_t virtualAddress); 39 void (*map_page)(addr_t virtualAddress, addr_t pa, uint32 flags);
|
/haiku/src/system/boot/arch/m68k/ |
H A D | mmu.h | 21 extern addr_t mmu_map_physical_memory(addr_t physicalAddress, size_t size, uint32 flags); 25 extern addr_t mmu_get_next_page_tables(); 31 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms); 33 status_t (*load_rp)(addr_t pa); 36 status_t (*add_page_table)(addr_t virtualAddress); 37 void (*unmap_page)(addr_t virtualAddress); 38 void (*map_page)(addr_t virtualAddress, addr_t pa, uint32 flags);
|
/haiku/src/system/boot/platform/atari_m68k/ |
H A D | mmu.h | 22 extern addr_t mmu_map_physical_memory(addr_t physicalAddress, size_t size, uint32 flags); 26 extern addr_t mmu_get_next_page_tables(); 32 status_t (*set_tt)(int which, addr_t pa, size_t len, uint32 perms); 34 status_t (*load_rp)(addr_t pa); 37 status_t (*add_page_table)(addr_t virtualAddress); 38 void (*unmap_page)(addr_t virtualAddress); 39 void (*map_page)(addr_t virtualAddress, addr_t pa, uint32 flags);
|
H A D | mmu.cpp | 90 addr_t gPageRoot = 0; 92 static addr_t sNextPhysicalAddress = 0x100000; 93 static addr_t sNextVirtualAddress = KERNEL_LOAD_BASE + kMaxKernelSize; 94 static addr_t sMaxVirtualAddress = KERNEL_LOAD_BASE /*+ 0x400000*/; 97 static addr_t sNextPageTableAddress = 0x90000; 104 static addr_t 107 addr_t address = sNextVirtualAddress; in get_next_virtual_address() 115 static addr_t 118 addr_t address = sNextPhysicalAddress; in get_next_physical_address() 126 static addr_t [all …]
|
/haiku/src/system/kernel/arch/arm64/ |
H A D | VMSAv8TranslationMap.h | 49 virtual addr_t MappedSize() const; 50 virtual size_t MaxPagesNeededToMap(addr_t start, 51 addr_t end) const; 53 virtual status_t Map(addr_t virtualAddress, 57 virtual status_t Unmap(addr_t start, addr_t end); 59 virtual status_t UnmapPage(VMArea* area, addr_t address, 61 virtual void UnmapPages(VMArea* area, addr_t base, 67 virtual status_t Query(addr_t virtualAddress, 70 virtual status_t QueryInterrupt(addr_t virtualAddress, 74 virtual status_t Protect(addr_t base, addr_t top, [all …]
|
/haiku/src/system/kernel/arch/x86/32/ |
H A D | syscalls.cpp | 30 void (*gX86SetSyscallStack)(addr_t stackTop) = NULL; 53 set_intel_syscall_stack(addr_t stackTop) in set_intel_syscall_stack() 64 x86_write_msr(IA32_MSR_SYSENTER_EIP, (addr_t)x86_sysenter); in init_intel_syscall_registers() 112 size_t len = (size_t)((addr_t)syscallCodeEnd - (addr_t)syscallCode); in x86_initialize_syscall() 113 addr_t position = fill_commpage_entry(COMMPAGE_ENTRY_X86_SYSCALL, in x86_initialize_syscall() 117 size_t memcpyLen = (addr_t)&memcpy_end - (addr_t)memcpy; in x86_initialize_syscall() 118 addr_t memcpyPosition = fill_commpage_entry(COMMPAGE_ENTRY_X86_MEMCPY, in x86_initialize_syscall() 120 size_t memsetLen = (addr_t)&memset_end - (addr_t)memset; in x86_initialize_syscall() 121 addr_t memsetPosition = fill_commpage_entry(COMMPAGE_ENTRY_X86_MEMSET, in x86_initialize_syscall()
|
/haiku/src/system/libroot/os/arch/ppc/ |
H A D | stack_trace.cpp | 21 __arch_get_stack_trace(addr_t* returnAddresses, int32 maxCount, in __arch_get_stack_trace() 22 int32 skipFrames, addr_t stackBase, addr_t stackEnd) in __arch_get_stack_trace() 25 addr_t basePointer = (addr_t)get_stack_frame(); in __arch_get_stack_trace() 32 addr_t previous; in __arch_get_stack_trace() 33 addr_t return_address; in __arch_get_stack_trace()
|