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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [m88kbug/] [sys/] [systraps.h] - Rev 1765

Compare with Previous | Blame | View Log

/* trap numbers for mvme187bug */
 
#define INCHR	0x0000
#define OUTCHR	0x0020
#define RETURN	0x0063
 
#define SYSTRAP(x) {asm("or r9,r0,%0" : : "i" (x) : "r9"); asm("tb0 0,r0,496");}
 
/* end of systraps.h */
 

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.