/
usr
/
src
/
linux-headers-5.15.0-181
/
arch
/
microblaze
/
include
/
asm
/
/usr/src/linux-headers-5.15.0-181/arch/microblaze/include/asm
mkdir
upload
Name
Size
Mode
Actions
asm-compat.h
518
0644
edit
dl
rm
asm-offsets.h
35
0644
edit
dl
rm
barrier.h
313
0644
edit
dl
rm
cache.h
510
0644
edit
dl
rm
cacheflush.h
3209
0644
edit
dl
rm
checksum.h
806
0644
edit
dl
rm
cpuinfo.h
2043
0644
edit
dl
rm
current.h
714
0644
edit
dl
rm
delay.h
2138
0644
edit
dl
rm
dma.h
432
0644
edit
dl
rm
elf.h
602
0644
edit
dl
rm
entry.h
1018
0644
edit
dl
rm
exceptions.h
1928
0644
edit
dl
rm
fixmap.h
1874
0644
edit
dl
rm
flat.h
1982
0644
edit
dl
rm
ftrace.h
642
0644
edit
dl
rm
futex.h
2179
0644
edit
dl
rm
hash.h
2429
0644
edit
dl
rm
highmem.h
1800
0644
edit
dl
rm
io.h
1691
0644
edit
dl
rm
irq.h
376
0644
edit
dl
rm
irqflags.h
2529
0644
edit
dl
rm
Kbuild
250
0644
edit
dl
rm
kgdb.h
739
0644
edit
dl
rm
mmu.h
4050
0644
edit
dl
rm
mmu_context.h
72
0644
edit
dl
rm
mmu_context_mm.h
3893
0644
edit
dl
rm
module.h
704
0644
edit
dl
rm
page.h
4076
0644
edit
dl
rm
pci-bridge.h
4473
0644
edit
dl
rm
pci.h
1986
0644
edit
dl
rm
pgalloc.h
1042
0644
edit
dl
rm
pgtable.h
14526
0644
edit
dl
rm
processor.h
2693
0644
edit
dl
rm
ptrace.h
591
0644
edit
dl
rm
pvr.h
8791
0644
edit
dl
rm
registers.h
1508
0644
edit
dl
rm
seccomp.h
256
0644
edit
dl
rm
sections.h
501
0644
edit
dl
rm
setup.h
823
0644
edit
dl
rm
string.h
494
0644
edit
dl
rm
switch_to.h
493
0644
edit
dl
rm
syscall.h
2346
0644
edit
dl
rm
thread_info.h
3979
0644
edit
dl
rm
timex.h
266
0644
edit
dl
rm
tlbflush.h
1579
0644
edit
dl
rm
uaccess.h
8121
0644
edit
dl
rm
unistd.h
1051
0644
edit
dl
rm
unwind.h
611
0644
edit
dl
rm
vmalloc.h
108
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-181/arch/microblaze/include/asm/exceptions.h
(1928B)
/* SPDX-License-Identifier: GPL-2.0 */ /* * Preliminary support for HW exception handing for Microblaze * * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2005 John Williams <jwilliams@itee.uq.edu.au> */ #ifndef _ASM_MICROBLAZE_EXCEPTIONS_H #define _ASM_MICROBLAZE_EXCEPTIONS_H #ifdef __KERNEL__ #ifndef __ASSEMBLY__ /* Macros to enable and disable HW exceptions in the MSR */ /* Define MSR enable bit for HW exceptions */ #define HWEX_MSR_BIT (1 << 8) #if CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR #define __enable_hw_exceptions() \ __asm__ __volatile__ (" msrset r0, %0; \ nop;" \ : \ : "i" (HWEX_MSR_BIT) \ : "memory") #define __disable_hw_exceptions() \ __asm__ __volatile__ (" msrclr r0, %0; \ nop;" \ : \ : "i" (HWEX_MSR_BIT) \ : "memory") #else /* !CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR */ #define __enable_hw_exceptions() \ __asm__ __volatile__ (" \ mfs r12, rmsr; \ nop; \ ori r12, r12, %0; \ mts rmsr, r12; \ nop;" \ : \ : "i" (HWEX_MSR_BIT) \ : "memory", "r12") #define __disable_hw_exceptions() \ __asm__ __volatile__ (" \ mfs r12, rmsr; \ nop; \ andi r12, r12, ~%0; \ mts rmsr, r12; \ nop;" \ : \ : "i" (HWEX_MSR_BIT) \ : "memory", "r12") #endif /* CONFIG_XILINX_MICROBLAZE0_USE_MSR_INSTR */ asmlinkage void full_exception(struct pt_regs *regs, unsigned int type, int fsr, int addr); asmlinkage void sw_exception(struct pt_regs *regs); void bad_page_fault(struct pt_regs *regs, unsigned long address, int sig); void die(const char *str, struct pt_regs *fp, long err); void _exception(int signr, struct pt_regs *regs, int code, unsigned long addr); #endif /*__ASSEMBLY__ */ #endif /* __KERNEL__ */ #endif /* _ASM_MICROBLAZE_EXCEPTIONS_H */
Save
cmd:
run