X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2For1k-desc.h;h=894a8bb462a8a2680b881c822de70b8d56519e3e;hb=7243d0118af6f72e3e72db1eb66941fec4530963;hp=be7d1db637e5777a4d651221ade0ccf75eb68bf0;hpb=2571583aed598dd3f9651b53434e5f177a0e3cf7;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/or1k-desc.h b/opcodes/or1k-desc.h index be7d1db637..894a8bb462 100644 --- a/opcodes/or1k-desc.h +++ b/opcodes/or1k-desc.h @@ -1,8 +1,9 @@ +/* DO NOT EDIT! -*- buffer-read-only: t -*- vi:set ro: */ /* CPU data header for or1k. THIS FILE IS MACHINE GENERATED WITH CGEN. -Copyright (C) 1996-2017 Free Software Foundation, Inc. +Copyright (C) 1996-2018 Free Software Foundation, Inc. This file is part of the GNU Binutils and/or GDB, the GNU debugger. @@ -25,6 +26,10 @@ This file is part of the GNU Binutils and/or GDB, the GNU debugger. #ifndef OR1K_CPU_H #define OR1K_CPU_H +#ifdef __cplusplus +extern "C" { +#endif + #define CGEN_ARCH or1k /* Given symbol S, return or1k_cgen_. */ @@ -73,7 +78,7 @@ typedef enum spr_groups { , SPR_GROUP_POWER, SPR_GROUP_PIC, SPR_GROUP_TICK, SPR_GROUP_FPU } SPR_GROUPS; -/* Enum declaration for special purpose register indicies. */ +/* Enum declaration for special purpose register indices. */ typedef enum spr_reg_indices { SPR_INDEX_SYS_VR = 0, SPR_INDEX_SYS_UPR = 1, SPR_INDEX_SYS_CPUCFGR = 2, SPR_INDEX_SYS_DMMUCFGR = 3 , SPR_INDEX_SYS_IMMUCFGR = 4, SPR_INDEX_SYS_DCCFGR = 5, SPR_INDEX_SYS_ICCFGR = 6, SPR_INDEX_SYS_DCFGR = 7 @@ -679,4 +684,8 @@ extern const CGEN_HW_ENTRY or1k_cgen_hw_table[]; + #ifdef __cplusplus + } + #endif + #endif /* OR1K_CPU_H */