vm_offset_t -> db_addr_t (mostly), v_addr_t (one place).

This commit is contained in:
is 1999-09-25 21:11:55 +00:00
parent 13021b9955
commit 75321f3ae6
4 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_disasm.c,v 1.23 1999/06/09 07:53:22 scottr Exp $ */
/* $NetBSD: db_disasm.c,v 1.24 1999/09/25 21:11:55 is Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -164,9 +164,9 @@ const char *const fpcregs[3] = { "fpiar", "fpsr", "fpcr" };
static char asm_buffer[256];
static char info_buffer[256];
vm_offset_t
db_disasm(loc, moto_syntax)
vm_offset_t loc;
db_addr_t
db_disasm(db_addr_t, moto_syntax)
db_addr_t loc;
boolean_t moto_syntax;
{
u_short opc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_disasm.h,v 1.4 1996/04/01 01:38:12 briggs Exp $ */
/* $NetBSD: db_disasm.h,v 1.5 1999/09/25 21:11:55 is Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@ -425,7 +425,7 @@ typedef struct dis_buffer dis_buffer_t;
#define PRINT_DREG(dbuf, reg) addstr(dbuf, dregs[reg])
#define PRINT_AREG(dbuf, reg) addstr(dbuf, aregs[reg])
vm_offset_t db_disasm __P((vm_offset_t loc, boolean_t moto_syntax));
db_addr_t db_disasm __P((db_addr_t loc, boolean_t moto_syntax));
void get_modregstr_moto __P((dis_buffer_t *dbuf, int bit, int mod, int sz, int dd));
void get_modregstr_mit __P((dis_buffer_t *dbuf, int bit, int mod, int sz, int dd));
u_long get_areg_val __P((int reg));

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_memrw.c,v 1.1 1996/02/22 23:23:35 gwr Exp $ */
/* $NetBSD: db_memrw.c,v 1.2 1999/09/25 21:11:55 is Exp $ */
/*
* Mach Operating System
@ -51,7 +51,7 @@
*/
void
db_read_bytes(addr, size, data)
vm_offset_t addr;
db_addr_t addr;
register size_t size;
register char *data;
{
@ -78,7 +78,7 @@ db_read_bytes(addr, size, data)
*/
void
db_write_bytes(addr, size, data)
vm_offset_t addr;
db_addr_t addr;
register size_t size;
register char *data;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_trace.c,v 1.25 1999/04/05 17:17:04 scw Exp $ */
/* $NetBSD: db_trace.c,v 1.26 1999/09/25 21:11:55 is Exp $ */
/*
* Mach Operating System
@ -86,9 +86,9 @@ db_var_short(varp, valp, op)
#define MAXINT 0x7fffffff
#if 0
#define INKERNEL(va) (((vm_offset_t)(va)) >= VM_MIN_KERNEL_ADDRESS && \
(((vm_offset_t)(va)) < (USRSTACK - MAXSSIZ) || \
((vm_offset_t)(va)) >= USRSTACK))
#define INKERNEL(va) (((vaddr_t)(va)) >= VM_MIN_KERNEL_ADDRESS && \
(((vaddr_t)(va)) < (USRSTACK - MAXSSIZ) || \
((vaddr_t)(va)) >= USRSTACK))
#else
/* XXX - Slight hack... */
extern int curpcb;