summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc')
-rw-r--r--sys/arch/powerpc/ddb/db_disasm.c4
-rw-r--r--sys/arch/powerpc/ddb/db_interface.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/powerpc/ddb/db_disasm.c b/sys/arch/powerpc/ddb/db_disasm.c
index 44f2da3e74f..dd0ec057f6f 100644
--- a/sys/arch/powerpc/ddb/db_disasm.c
+++ b/sys/arch/powerpc/ddb/db_disasm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_disasm.c,v 1.16 2014/04/26 06:17:26 jsg Exp $ */
+/* $OpenBSD: db_disasm.c,v 1.17 2019/11/07 15:58:39 mpi Exp $ */
/*
* Copyright (c) 1996, 2001, 2003 Dale Rahn. All rights reserved.
*
@@ -1162,7 +1162,7 @@ dis_ppc(u_int32_t addr, const struct opcode *opcodeset, instr_t instr)
}
db_addr_t
-db_disasm(db_addr_t loc, boolean_t extended)
+db_disasm(db_addr_t loc, int extended)
{
int class;
instr_t opcode;
diff --git a/sys/arch/powerpc/ddb/db_interface.c b/sys/arch/powerpc/ddb/db_interface.c
index 6352c84fceb..28b5ddf284d 100644
--- a/sys/arch/powerpc/ddb/db_interface.c
+++ b/sys/arch/powerpc/ddb/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.5 2019/03/23 05:47:23 visa Exp $ */
+/* $OpenBSD: db_interface.c,v 1.6 2019/11/07 15:58:39 mpi Exp $ */
/* $NetBSD: db_interface.c,v 1.12 2001/07/22 11:29:46 wiz Exp $ */
/*
@@ -46,7 +46,7 @@
struct db_mutex ddb_mp_mutex = DB_MUTEX_INITIALIZER;
volatile int ddb_state = DDB_STATE_NOT_RUNNING;
volatile cpuid_t ddb_active_cpu;
-boolean_t db_switch_cpu;
+int db_switch_cpu;
long db_switch_to_cpu;
#endif
@@ -92,9 +92,9 @@ db_trap_glue(struct trapframe *frame)
s = splhigh();
db_active++;
- cnpollc(TRUE);
+ cnpollc(1);
db_trap(T_BREAKPOINT, 0);
- cnpollc(FALSE);
+ cnpollc(0);
db_active--;
splx(s);