summaryrefslogtreecommitdiff
path: root/niosii.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-11-12 13:11:18 +0100
committerTobias Klauser <tklauser@distanz.ch>2010-11-12 13:11:18 +0100
commitc9c4555f8d38053ed2da4b0f81fd86301a14d8cb (patch)
tree59a32bee8ef753da2399650200473a93645bedbd /niosii.h
parente0330d9534d8cfeffff81f426df1d3277702b835 (diff)
Implement more instructions
Diffstat (limited to 'niosii.h')
-rw-r--r--niosii.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/niosii.h b/niosii.h
index cd4ba80..9cbef49 100644
--- a/niosii.h
+++ b/niosii.h
@@ -75,12 +75,12 @@ struct i_type_code{
uint32_t imm16:16;
uint32_t b:5;
uint32_t a:5;
-}__attribute__ ((__packed__));
+} __attribute__ ((__packed__));
struct j_type_code{
uint32_t op:6;
uint32_t imm26:26;
-}__attribute__ ((__packed__));
+} __attribute__ ((__packed__));
struct r_type_code{
uint32_t op:6;
@@ -89,7 +89,7 @@ struct r_type_code{
uint32_t c:5;
uint32_t b:5;
uint32_t a:5;
-}__attribute__ ((__packed__));
+} __attribute__ ((__packed__));
#define handler_item(func) {.handler = func}