Search
lxdream.org :: lxdream/src/cpu.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/cpu.h
changeset 11:0a82ef380c45
prev10:c898b37506e0
next13:28aea89fb9c6
author nkeynes
date Sun Dec 11 12:00:09 2005 +0000 (15 years ago)
permissions -rw-r--r--
last change Moved arm material under aica/
Hooked arm disasm up
file annotate diff log raw
1.1 --- a/src/cpu.h Sun Dec 11 05:15:36 2005 +0000
1.2 +++ b/src/cpu.h Sun Dec 11 12:00:09 2005 +0000
1.3 @@ -16,7 +16,9 @@
1.4 * @param buflen Maximum length of buffer
1.5 * @return next address to disassemble
1.6 */
1.7 -typedef uint32_t (*disasm_func_t)(uint32_t pc, char *buffer, int buflen );
1.8 +typedef uint32_t (*disasm_func_t)(uint32_t pc, char *buffer, int buflen, char *opcode );
1.9 +
1.10 +typedef int (*is_valid_page_t)(uint32_t pc);
1.11
1.12 #define REG_INT 0
1.13 #define REG_FLT 1
1.14 @@ -41,6 +43,7 @@
1.15 uint32_t *pc; /* Pointer to PC register */
1.16 uint32_t *icount; /* Pointer to instruction counter */
1.17 /* Memory map? */
1.18 + is_valid_page_t valid_page_func; /* Test for valid memory page */
1.19 } *cpu_desc_t;
1.20
1.21 #ifdef __cplusplus
.