diff options
Diffstat (limited to 'usr/src/uts/common/vm/as.h')
-rw-r--r-- | usr/src/uts/common/vm/as.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/usr/src/uts/common/vm/as.h b/usr/src/uts/common/vm/as.h index c7afefc23c..f1c7ea3cfa 100644 --- a/usr/src/uts/common/vm/as.h +++ b/usr/src/uts/common/vm/as.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -47,6 +46,7 @@ #include <vm/faultcode.h> #include <vm/hat.h> #include <sys/avl.h> +#include <sys/proc.h> #ifdef __cplusplus extern "C" { @@ -124,6 +124,7 @@ struct as { size_t a_sizedir; /* size of object directory */ struct as_callback *a_callbacks; /* callback list */ void *a_xhat; /* list of xhat providers */ + proc_t *a_proc; /* back pointer to proc */ }; #define AS_PAGLCK 0x80 @@ -240,7 +241,7 @@ void as_avlinit(struct as *); struct seg *as_segat(struct as *as, caddr_t addr); void as_rangelock(struct as *as); void as_rangeunlock(struct as *as); -struct as *as_alloc(void); +struct as *as_alloc(); void as_free(struct as *as); int as_dup(struct as *as, struct as **outas); struct seg *as_findseg(struct as *as, caddr_t addr, int tail); |