summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/db_machdep.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-03-15 15:50:42 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-03-15 15:50:42 +0000
commit860f74a2778d736b78ebc544b8a868b1e4735955 (patch)
tree647e827dfcfeb532c691efdaf15346744a3eaf96 /sys/arch/amd64/include/db_machdep.h
parent947efc584e53209f8746e387cbb258e377499e86 (diff)
remove dead macros
Diffstat (limited to 'sys/arch/amd64/include/db_machdep.h')
-rw-r--r--sys/arch/amd64/include/db_machdep.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/sys/arch/amd64/include/db_machdep.h b/sys/arch/amd64/include/db_machdep.h
index 265b60c5922..3ddbe67c75e 100644
--- a/sys/arch/amd64/include/db_machdep.h
+++ b/sys/arch/amd64/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.5 2005/11/13 17:51:53 fgsch Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.6 2006/03/15 15:50:41 mickey Exp $ */
/* $NetBSD: db_machdep.h,v 1.2 2003/04/29 17:06:04 scw Exp $ */
/*
@@ -76,25 +76,6 @@ extern db_regs_t ddb_regs; /* register state */
#define inst_load(ins) 0
#define inst_store(ins) 0
-/* access capability and access macros */
-
-#define DB_ACCESS_LEVEL 2 /* access any space */
-#define DB_CHECK_ACCESS(addr,size,task) \
- db_check_access(addr,size,task)
-#define DB_PHYS_EQ(task1,addr1,task2,addr2) \
- db_phys_eq(task1,addr1,task2,addr2)
-#define DB_VALID_KERN_ADDR(addr) \
- ((addr) >= VM_MIN_KERNEL_ADDRESS && \
- (addr) < VM_MAX_KERNEL_ADDRESS)
-#define DB_VALID_ADDRESS(addr,user) \
- ((!(user) && DB_VALID_KERN_ADDR(addr)) || \
- ((user) && (addr) < VM_MAX_ADDRESS))
-
-#if 0
-boolean_t db_check_access(vaddr_t, int, task_t);
-boolean_t db_phys_eq(task_t, vaddr_t, task_t, vaddr_t);
-#endif
-
/* macros for printing OS server dependent task name */
#define DB_TASK_NAME(task) db_task_name(task)