[444] | 1 | /* or1k-asm.h -- OR1K assembly helper macros |
---|
| 2 | |
---|
| 3 | Copyright (c) 2014 OpenRISC Project Maintainers |
---|
| 4 | All rights reserved. |
---|
| 5 | |
---|
| 6 | Redistribution and use in source and binary forms, with or without |
---|
| 7 | modification, are permitted provided that the following condition |
---|
| 8 | is met: |
---|
| 9 | |
---|
| 10 | 1. Redistributions of source code must retain the above copyright |
---|
| 11 | notice, this list of conditions and the following disclaimer. |
---|
| 12 | |
---|
| 13 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
---|
| 14 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
---|
| 15 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
---|
| 16 | FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
---|
| 17 | COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
---|
| 18 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
---|
| 19 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
---|
| 20 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
---|
| 21 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, |
---|
| 22 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
---|
| 23 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED |
---|
| 24 | OF THE POSSIBILITY OF SUCH DAMAGE. |
---|
| 25 | */ |
---|
| 26 | |
---|
| 27 | #ifndef __OR1K_NOP_H__ |
---|
| 28 | #define __OR1K_NOP_H__ |
---|
| 29 | |
---|
| 30 | #define OR1K_NOP_K_NOP 0x0 |
---|
| 31 | #define OR1K_NOP_K_EXIT 0x1 |
---|
| 32 | #define OR1K_NOP_K_PUTC 0x4 |
---|
| 33 | #define OR1K_NOP_K_EXIT_QUIET 0xc |
---|
| 34 | |
---|
| 35 | #endif |
---|