Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 2 of 2) sorted by relevance

/arch/x86/include/arch/
A Dx86.h495 static inline uint64_t x86_read_gs_offset64(uintptr_t offset) { in x86_read_gs_offset64() argument
497 __asm__("movq %%gs:%1, %0" : "=r"(ret) : "m"(*(uint64_t*)(offset))); in x86_read_gs_offset64()
505 static inline uint32_t x86_read_gs_offset32(uintptr_t offset) { in x86_read_gs_offset32() argument
507 __asm__("movl %%gs:%1, %0" : "=r"(ret) : "m"(*(uint32_t*)(offset))); in x86_read_gs_offset32()
518 static inline void *x86_read_gs_offset_ptr(uintptr_t offset) { in x86_read_gs_offset_ptr() argument
519 return (void *)x86_read_gs_offset64(offset); in x86_read_gs_offset_ptr()
521 static inline void x86_write_gs_offset_ptr(uintptr_t offset, void *val) { in x86_write_gs_offset_ptr() argument
522 x86_write_gs_offset64(offset, (uint64_t)(val)); in x86_write_gs_offset_ptr()
525 static inline void *x86_read_gs_offset_ptr(uintptr_t offset) { in x86_read_gs_offset_ptr() argument
526 return (void *)x86_read_gs_offset32(offset); in x86_read_gs_offset_ptr()
[all …]
/arch/arm/arm/
A Dexceptions.S83 .macro save_offset, offset
84 sub lr, \offset
135 .macro saveall_offset, offset
136 sub lr, \offset

Completed in 6 milliseconds