aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/cpu.h
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-26 15:09:38 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-05-26 15:09:38 +0000
commita87295e8df0923dab9857c1a340d23fe3278a336 (patch)
tree30c629030791710b509b88fceb184766f97743cd /target-m68k/cpu.h
parent20c9f095c4536e64e60432a5c72fce38e8306cbb (diff)
M68k system mode semihosting.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2861 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-m68k/cpu.h')
-rw-r--r--target-m68k/cpu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/target-m68k/cpu.h b/target-m68k/cpu.h
index c916ad7cd5..93080cfe12 100644
--- a/target-m68k/cpu.h
+++ b/target-m68k/cpu.h
@@ -51,6 +51,7 @@
#define EXCP_ICE 13
#define EXCP_RTE 0x100
+#define EXCP_HALT_INSN 0x101
typedef struct CPUM68KState {
uint32_t dregs[8];
@@ -148,6 +149,8 @@ void m68k_set_irq_level(CPUM68KState *env, int level, uint8_t vector);
#define M68K_FPCR_PREC (1 << 6)
+void do_m68k_semihosting(CPUM68KState *env, int nr);
+
#ifdef CONFIG_USER_ONLY
/* Linux uses 8k pages. */
#define TARGET_PAGE_BITS 13