OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-197
/
arch
/
microblaze
/
include
/
asm
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/17/2022 06:42:15 AM
rwxr-xr-x
📄
Kbuild
742 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
asm-compat.h
518 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
asm-offsets.h
35 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
atomic.h
626 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cache.h
644 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cacheflush.h
4.12 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
checksum.h
942 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cmpxchg.h
919 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
cpuinfo.h
2.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
cputable.h
1 byte
01/28/2018 09:20:33 PM
rw-r--r--
📄
current.h
850 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
delay.h
2.26 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
dma-mapping.h
765 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
dma.h
706 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
elf.h
738 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
entry.h
1.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
exceptions.h
2.08 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
fixmap.h
1.96 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
flat.h
2.26 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ftrace.h
641 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
futex.h
2.13 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
hash.h
2.37 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
highmem.h
2.2 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
hw_irq.h
1 byte
01/28/2018 09:20:33 PM
rw-r--r--
📄
io.h
2.05 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
irq.h
538 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
irqflags.h
2.6 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
kgdb.h
739 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
mmu.h
4.19 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
mmu_context.h
141 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
mmu_context_mm.h
3.91 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
module.h
840 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
page.h
6.11 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pci-bridge.h
4.57 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pci.h
2.47 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pgalloc.h
4.74 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pgtable.h
17.66 KB
11/01/2022 04:52:05 PM
rw-r--r--
📄
processor.h
4.11 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
prom.h
713 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
ptrace.h
727 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
pvr.h
8.72 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
registers.h
1.65 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
seccomp.h
256 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
sections.h
637 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
setup.h
1.37 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
string.h
630 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
switch_to.h
629 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
syscall.h
2.26 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
thread_info.h
4.01 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
timex.h
402 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
tlb.h
714 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
tlbflush.h
2.04 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
uaccess.h
9.98 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
unaligned.h
871 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
unistd.h
1.19 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
unwind.h
719 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
user.h
1 byte
01/28/2018 09:20:33 PM
rw-r--r--
Editing: flat.h
Close
/* * uClinux flat-format executables * * Copyright (C) 2005 John Williams <jwilliams@itee.uq.edu.au> * * This file is subject to the terms and conditions of the GNU General * Public License. See the file COPYING in the main directory of this * archive for more details. */ #ifndef _ASM_MICROBLAZE_FLAT_H #define _ASM_MICROBLAZE_FLAT_H #include <asm/unaligned.h> #define flat_argvp_envp_on_stack() 0 #define flat_old_ram_flag(flags) (flags) #define flat_reloc_valid(reloc, size) ((reloc) <= (size)) #define flat_set_persistent(relval, p) 0 /* * Microblaze works a little differently from other arches, because * of the MICROBLAZE_64 reloc type. Here, a 32 bit address is split * over two instructions, an 'imm' instruction which provides the top * 16 bits, then the instruction "proper" which provides the low 16 * bits. */ /* * Crack open a symbol reference and extract the address to be * relocated. rp is a potentially unaligned pointer to the * reference */ static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags, u32 *addr, u32 *persistent) { u32 *p = (__force u32 *)rp; /* Is it a split 64/32 reference? */ if (relval & 0x80000000) { /* Grab the two halves of the reference */ u32 val_hi, val_lo; val_hi = get_unaligned(p); val_lo = get_unaligned(p+1); /* Crack the address out */ *addr = ((val_hi & 0xffff) << 16) + (val_lo & 0xffff); } else { /* Get the address straight out */ *addr = get_unaligned(p); } return 0; } /* * Insert an address into the symbol reference at rp. rp is potentially * unaligned. */ static inline int flat_put_addr_at_rp(u32 __user *rp, u32 addr, u32 relval) { u32 *p = (__force u32 *)rp; /* Is this a split 64/32 reloc? */ if (relval & 0x80000000) { /* Get the two "halves" */ unsigned long val_hi = get_unaligned(p); unsigned long val_lo = get_unaligned(p + 1); /* insert the address */ val_hi = (val_hi & 0xffff0000) | addr >> 16; val_lo = (val_lo & 0xffff0000) | (addr & 0xffff); /* store the two halves back into memory */ put_unaligned(val_hi, p); put_unaligned(val_lo, p+1); } else { /* Put it straight in, no messing around */ put_unaligned(addr, p); } return 0; } #define flat_get_relocate_addr(rel) (rel & 0x7fffffff) #endif /* _ASM_MICROBLAZE_FLAT_H */