From abb6c10f3a5be99396c303e60d286606ddc72e17 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 19 Nov 2010 14:06:15 +0100 Subject: Implement memory load/store operations --- nios2.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nios2.h') diff --git a/nios2.h b/nios2.h index aacf1b9..b4ab4ff 100644 --- a/nios2.h +++ b/nios2.h @@ -105,6 +105,10 @@ extern void nios2_exception(struct nios2 *cpu, uint8_t cause); extern uint32_t nios2_fetch_instr(struct nios2 *cpu); extern int nios2_execute_instr(struct nios2 *cpu, uint32_t instr); +extern int nios2_load_byte(struct nios2 *cpu, uint32_t addr, uint8_t *data); +extern int nios2_store_byte(struct nios2 *cpu, uint32_t addr, uint8_t data); +extern int nios2_load_word(struct nios2 *cpu, uint32_t addr, uint32_t *data); + extern void nios2_dump_registers(struct nios2 *cpu); #endif /* _NIOS2_H_ */ -- cgit v1.2.3-54-g00ecf this.form.submit();'> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/crypto/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/.gitignore')