diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2014-12-15 20:17:39 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2014-12-15 20:17:39 +0000 |
commit | 68a910123726e7868baf89cac9038b4dbb22f612 (patch) | |
tree | 108b63e655003a7d58a3cc6f252ab2e6ace706d1 /libgloss/or1k/include/or1k-nop.h | |
parent | d1219c0e89d2dc4ac865889cbd23f5e4c64d86e5 (diff) | |
download | cygnal-68a910123726e7868baf89cac9038b4dbb22f612.tar.gz cygnal-68a910123726e7868baf89cac9038b4dbb22f612.tar.bz2 cygnal-68a910123726e7868baf89cac9038b4dbb22f612.zip |
2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
* or1k/Makefile.in: Add libor1k
* or1k/README: New file
* or1k/caches-asm.S: New file
* or1k/exceptions-asm.S: New file
* or1k/exceptions.c: New file
* or1k/impure.c: New file
* or1k/include/or1k-nop.h: New file
* or1k/include/or1k-support.h: New file
* or1k/interrupts-asm.S: New file
* or1k/interrupts.c: New file
* or1k/mmu-asm.S: New file
* or1k/or1k-internals.h: New file
* or1k/or1k_uart.c: New file
* or1k/or1k_uart.h: New file
* or1k/outbyte.S: New file
* or1k/sbrk.c: New file
* or1k/sync-asm.S: New file
* or1k/syscalls.c: New file
* or1k/timer.c: New file
* or1k/util.c: New file
Diffstat (limited to 'libgloss/or1k/include/or1k-nop.h')
-rw-r--r-- | libgloss/or1k/include/or1k-nop.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libgloss/or1k/include/or1k-nop.h b/libgloss/or1k/include/or1k-nop.h new file mode 100644 index 000000000..0d432dad4 --- /dev/null +++ b/libgloss/or1k/include/or1k-nop.h @@ -0,0 +1,35 @@ +/* or1k-asm.h -- OR1K assembly helper macros + + Copyright (c) 2014 OpenRISC Project Maintainers + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following condition + is met: + + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS + FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#ifndef __OR1K_NOP_H__ +#define __OR1K_NOP_H__ + +#define OR1K_NOP_K_NOP 0x0 +#define OR1K_NOP_K_EXIT 0x1 +#define OR1K_NOP_K_PUTC 0x4 +#define OR1K_NOP_K_EXIT_QUIET 0xc + +#endif |