summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_param.h
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2007-03-26 08:43:35 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2007-03-26 08:43:35 +0000
commitf3e4aab1c715da8604d0a2d20aadf53414facd67 (patch)
treea308e46ca2a6bcd69ef5e2e86200afd4c89774d0 /sys/uvm/uvm_param.h
parent1bff2693343e573573147ca06422bdece9097b4f (diff)
Rip out the KERN_ error codes.
ok otto@
Diffstat (limited to 'sys/uvm/uvm_param.h')
-rw-r--r--sys/uvm/uvm_param.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/uvm/uvm_param.h b/sys/uvm/uvm_param.h
index 8822dc75daa..788539aea56 100644
--- a/sys/uvm/uvm_param.h
+++ b/sys/uvm/uvm_param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uvm_param.h,v 1.11 2007/03/25 11:31:07 art Exp $ */
+/* $OpenBSD: uvm_param.h,v 1.12 2007/03/26 08:43:34 art Exp $ */
/* $NetBSD: uvm_param.h,v 1.5 2001/03/09 01:02:12 chs Exp $ */
/*
@@ -135,17 +135,6 @@ struct _ps_strings {
#define SWAPSKIPBYTES 8192 /* never use at the start of a swap space */
-/*
- * Return values from the VM routines.
- */
-#define KERN_INVALID_ADDRESS EFAULT
-#define KERN_PROTECTION_FAILURE EACCES
-#define KERN_NO_SPACE ENOMEM
-#define KERN_INVALID_ARGUMENT EINVAL
-#define KERN_FAILURE EFAULT
-#define KERN_RESOURCE_SHORTAGE ENOMEM
-#define KERN_PAGES_LOCKED 9 /* XXX never returned */
-
#ifndef ASSEMBLER
/*
* Convert addresses to pages and vice versa.