Print this page
patch vm-cleanup
@@ -25,13 +25,10 @@
*/
#ifndef _VM_XHAT_H
#define _VM_XHAT_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
-
#ifdef __cplusplus
extern "C" {
#endif
#ifndef _ASM
@@ -48,12 +45,10 @@
void (*xhat_free)(struct xhat *);
void (*xhat_free_start)(struct xhat *);
void (*xhat_free_end)(struct xhat *);
int (*xhat_dup)(struct xhat *, struct xhat *, caddr_t,
size_t, uint_t);
- void (*xhat_swapin)(struct xhat *);
- void (*xhat_swapout)(struct xhat *);
void (*xhat_memload)(struct xhat *, caddr_t, struct page *,
uint_t, uint_t);
void (*xhat_memload_array)(struct xhat *, caddr_t, size_t,
struct page **, uint_t, uint_t);
void (*xhat_devload)(struct xhat *, caddr_t, size_t, pfn_t,
@@ -85,14 +80,10 @@
XHAT_HOPS(a, xhat_free_end, ((struct xhat *)(a)))
#define XHAT_DUP(a, b, c, d, e) \
((XHAT_PROPS(a)->xhat_dup == NULL) ? (0) : \
XHAT_PROPS(a)->xhat_dup((struct xhat *)(a), \
(struct xhat *)(b), c, d, e))
-#define XHAT_SWAPIN(a) \
- XHAT_HOPS(a, xhat_swapin, ((struct xhat *)(a)))
-#define XHAT_SWAPOUT(a) \
- XHAT_HOPS(a, xhat_swapout, ((struct xhat *)(a)))
#define XHAT_MEMLOAD(a, b, c, d, e) \
XHAT_HOPS(a, xhat_memload, ((struct xhat *)(a), b, c, d, e))
#define XHAT_MEMLOAD_ARRAY(a, b, c, d, e, f) \
XHAT_HOPS(a, xhat_memload_array, ((struct xhat *)(a), b, c, d, e, f))
#define XHAT_DEVLOAD(a, b, c, d, e, f) \
@@ -187,11 +178,10 @@
int xhat_hat_holders(struct xhat *);
void xhat_free_start_all(struct as *);
void xhat_free_end_all(struct as *);
int xhat_dup_all(struct as *, struct as *, caddr_t, size_t, uint_t);
-void xhat_swapout_all(struct as *);
void xhat_unload_callback_all(struct as *, caddr_t, size_t, uint_t,
hat_callback_t *);
void xhat_setattr_all(struct as *, caddr_t, size_t, uint_t);
void xhat_clrattr_all(struct as *, caddr_t, size_t, uint_t);
void xhat_chgattr_all(struct as *, caddr_t, size_t, uint_t);