OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cris/] [hw/] [rv-n-cris/] [testutils.inc] - Rev 842

Compare with Previous | Blame | View Log

 .include "../../asm/testutils.inc"

# Define an exception vector table "vecname" with a single
# vector number "n" as "entry", all others "other".
# V32 only needs 1<<10 alignment, earlier versions need 1<<16.
 .macro singlevec vecname vecno entry other=killme
 .section .text.exvec
 .p2align 16
\vecname:
 .if (\vecno)
 .rept \vecno
 .dword \other
 .endr
 .endif
 .dword \entry
 .if (\vecno)-255
 .rept 256-(\vecno)-1
 .dword \other
 .endr
 .endif
 .previous
 .endm

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.