diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-11-07 11:16:56 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2019-11-07 11:16:56 +0000 |
commit | 950f170b75541a4f79eb8b010c30001f6046757e (patch) | |
tree | b49e5a03b6e6ca7f2cb385fb8df1285af491d842 /sys/arch/alpha/include | |
parent | 1e55c705e5a9ee91cbb478c344debccc6716e00f (diff) |
ANSIfy & substitute boolean_t/TRUE/FALSE by int/1/0.
ok jasper@, deraadt@
Diffstat (limited to 'sys/arch/alpha/include')
-rw-r--r-- | sys/arch/alpha/include/db_machdep.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/sys/arch/alpha/include/db_machdep.h b/sys/arch/alpha/include/db_machdep.h index 8ea9b848300..eb8f24923e4 100644 --- a/sys/arch/alpha/include/db_machdep.h +++ b/sys/arch/alpha/include/db_machdep.h @@ -1,4 +1,4 @@ -/* $OpenBSD: db_machdep.h,v 1.25 2016/04/27 11:10:48 mpi Exp $ */ +/* $OpenBSD: db_machdep.h,v 1.26 2019/11/07 11:16:55 mpi Exp $ */ /* * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. @@ -27,8 +27,7 @@ #ifndef _MACHINE_DB_MACHDEP_H_ #define _MACHINE_DB_MACHDEP_H_ -/* XXX - Need to include vm.h for boolean_t */ -#include <uvm/uvm_extern.h> +#include <uvm/uvm_param.h> struct opcode { enum opc_fmt { OPC_PAL, OPC_RES, OPC_MEM, OPC_OP, OPC_BR } opc_fmt; @@ -72,12 +71,12 @@ extern db_regs_t ddb_regs; int alpha_debug(unsigned long, unsigned long, unsigned long, unsigned long, struct trapframe *); db_addr_t db_branch_taken(int, db_addr_t, db_regs_t *); -boolean_t db_inst_branch(int); -boolean_t db_inst_call(int); -boolean_t db_inst_load(int); -boolean_t db_inst_return(int); -boolean_t db_inst_trap_return(int); -boolean_t db_inst_unconditional_flow_transfer(int); +int db_inst_branch(int); +int db_inst_call(int); +int db_inst_load(int); +int db_inst_return(int); +int db_inst_trap_return(int); +int db_inst_unconditional_flow_transfer(int); u_long db_register_value(db_regs_t *, int); int db_valid_breakpoint(db_addr_t); int ddb_trap(unsigned long, unsigned long, unsigned long, |