Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 18 of 18) sorted by relevance

/DragonStub/gnuefi/
H A Dreloc_mips64el.c50 unsigned long *addr = 0; in _relocate() local
70 addr = (unsigned long *) in _relocate()
84 if ((!rel && relent == 0) && (!addr && gotsz == 0)) in _relocate()
87 if ((!rel && relent != 0) || (!addr && gotsz != 0)) in _relocate()
91 *addr += ldbase; in _relocate()
92 addr += 1; in _relocate()
103 addr = (unsigned long *) in _relocate()
105 *addr += ldbase; in _relocate()
H A Dreloc_loongarch64.c49 unsigned long *addr; in _relocate() local
69 addr = (unsigned long *) in _relocate()
92 addr = (unsigned long *) in _relocate()
94 *addr += ldbase; in _relocate()
H A Dreloc_arm.c48 unsigned long *addr; in _relocate() local
85 addr = (unsigned long *) in _relocate()
87 *addr += ldbase; in _relocate()
H A Dreloc_x86_64.c49 unsigned long *addr; in _relocate() local
86 addr = (unsigned long *) in _relocate()
88 *addr += ldbase; in _relocate()
H A Dreloc_ia32.c47 unsigned long *addr; in _relocate() local
87 addr = (unsigned long *) in _relocate()
89 *addr += ldbase; in _relocate()
H A Dreloc_riscv64.c51 unsigned long *addr; in _relocate() local
80 addr = (unsigned long *)(ldbase + rel->r_offset); in _relocate()
81 *addr = ldbase + rel->r_addend; in _relocate()
H A Dreloc_aarch64.c48 unsigned long *addr; in _relocate() local
85 addr = (unsigned long *) in _relocate()
87 *addr = ldbase + rel->r_addend; in _relocate()
H A Dreloc_ia64.S83 #define addr r21 macro
150 add addr = 8,rela
154 ld8 r_info = [addr],8
156 ld8 r_addend = [addr]
209 getf.sig addr = ftmp
212 add addr = ST_VALUE_OFF, addr
214 ld8 val = [addr]
/DragonStub/apps/
H A Dmem.c83 efi_status_t efi_allocate_pages(unsigned long size, unsigned long *addr, in efi_allocate_pages() argument
102 *addr = alloc_addr; in efi_allocate_pages()
116 efi_status_t efi_allocate_pages_exact(unsigned long size, unsigned long addr) in efi_allocate_pages_exact() argument
120 u64 addr_rounded = addr & ~(EFI_ALLOC_ALIGN - 1); in efi_allocate_pages_exact()
121 size += addr - addr_rounded; in efi_allocate_pages_exact()
126 size, addr, addr_rounded, pagecount); in efi_allocate_pages_exact()
129 pagecount, (EFI_PHYSICAL_ADDRESS *)&addr); in efi_allocate_pages_exact()
151 void efi_free(unsigned long size, unsigned long addr) in efi_free() argument
159 efi_bs_call(FreePages, addr, nr_pages); in efi_free()
H A Dalignedmem.c22 efi_status_t efi_allocate_pages_aligned(unsigned long size, unsigned long *addr, in efi_allocate_pages_aligned() argument
45 *addr = ALIGN_UP((unsigned long)alloc_addr, align); in efi_allocate_pages_aligned()
55 efi_bs_call(FreePages, *addr + size, slack); in efi_allocate_pages_aligned()
/DragonStub/apps/lib/libfdt/
H A Dfdt_addresses.c58 const char *name, uint64_t addr, uint64_t size) in fdt_appendprop_addrrange() argument
76 if ((addr > UINT32_MAX) || (((uint64_t) UINT32_MAX + 1 - addr) < size)) in fdt_appendprop_addrrange()
79 fdt32_st(prop, (uint32_t)addr); in fdt_appendprop_addrrange()
81 fdt64_st(prop, addr); in fdt_appendprop_addrrange()
H A Dfdt_sw.c188 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size) in fdt_add_reservemap_entry() argument
200 re->address = cpu_to_fdt64(addr); in fdt_add_reservemap_entry()
H A Dlibfdt.h1476 int fdt_add_reservemap_entry(void *fdt, uint64_t addr, uint64_t size);
1993 const char *name, uint64_t addr, uint64_t size);
/DragonStub/inc/dragonstub/
H A Dlinux-efi.h365 static inline void memrange_efi_to_native(u64 *addr, u64 *npages)
367 *npages = PFN_UP(*addr + (*npages << EFI_PAGE_SHIFT)) - PFN_DOWN(*addr);
368 *addr &= PAGE_MASK;
311 memrange_efi_to_native(u64 * addr,u64 * npages) memrange_efi_to_native() argument
H A Dlinux-efi.h365 static inline void memrange_efi_to_native(u64 *addr, u64 *npages)
367 *npages = PFN_UP(*addr + (*npages << EFI_PAGE_SHIFT)) - PFN_DOWN(*addr);
368 *addr &= PAGE_MASK;
318 memrange_efi_to_native(u64 * addr,u64 * npages) memrange_efi_to_native() argument
H A Ddragonstub.h310 efi_status_t efi_allocate_pages_aligned(unsigned long size, unsigned long *addr,
329 efi_status_t efi_allocate_pages(unsigned long size, unsigned long *addr,
342 efi_status_t efi_allocate_pages_exact(unsigned long size, unsigned long addr);
355 void efi_free(unsigned long size, unsigned long addr);
H A Dlinux-efi.h365 static inline void memrange_efi_to_native(u64 *addr, u64 *npages) in memrange_efi_to_native() argument
367 *npages = PFN_UP(*addr + (*npages << EFI_PAGE_SHIFT)) - PFN_DOWN(*addr); in memrange_efi_to_native()
368 *addr &= PAGE_MASK; in memrange_efi_to_native()
/DragonStub/apps/lib/
H A Dvsprintf.c548 static noinline_for_stack char *hex_string(char *buf, char *end, u8 *addr, in hex_string() argument
560 if (check_pointer(&buf, end, addr, spec)) in hex_string()
583 *buf = hex_asc_hi(addr[i]); in hex_string()
586 *buf = hex_asc_lo(addr[i]); in hex_string()
600 u8 *addr, in mac_address_string() argument
610 if (check_pointer(&buf, end, addr, spec)) in mac_address_string()
629 p = hex_byte_pack(p, addr[5 - i]); in mac_address_string()
631 p = hex_byte_pack(p, addr[i]); in mac_address_string()