From f8e9bbeff36b49dc50ad862669539567dec1ccc1 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Thu, 7 Nov 2019 15:58:40 +0000 Subject: Substitute boolean_t/TRUE/FALSE by int/1/0. --- sys/arch/powerpc/ddb/db_disasm.c | 4 ++-- sys/arch/powerpc/ddb/db_interface.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'sys/arch/powerpc') 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); -- cgit v1.2.3