From 7cf6d4f40bb0a66a13b196785f7e5946a7a78361 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 23 Sep 1996 17:16:25 +0000 Subject: (diskfs_disk_pager): Renamed from disk_pager. (diskfs_start_disk_pager): Renamed from disk_pager_setup. Add PAGER_BUCKET, IMAGE, and SIZE arguments. (disk_image, pager_bucket): Declarations removed. --- libdiskfs/diskfs-pager.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'libdiskfs/diskfs-pager.h') diff --git a/libdiskfs/diskfs-pager.h b/libdiskfs/diskfs-pager.h index a7d20c9d..6a73569c 100644 --- a/libdiskfs/diskfs-pager.h +++ b/libdiskfs/diskfs-pager.h @@ -18,6 +18,7 @@ #ifndef _HURD_DISKFS_PAGER_H #define _HURD_DISKFS_PAGER_H 1 + #include #include #include @@ -26,15 +27,16 @@ #include #include +/* Start a pager for the whole disk, and store it in DISKFS_DISK_PAGER, + preparing a signal preempter so that the `diskfs_catch_exception' macro + below works. SIZE should be the size of the image to map, and the address + mapped is returned in IMAGE. INFO, PAGER_BUCKET, & MAY_CACHE are passed + to `pager_create'. */ +extern void diskfs_start_disk_pager (struct user_pager_info *info, + struct port_bucket *pager_bucket, int may_cache, + size_t size, void **image); -/* Set up the three variables below and prepare a signal preempter - so that the `diskfs_catch_exception' macro below works. - INFO and MAY_CACHE are passed to `pager_create'. */ -extern void disk_pager_setup (struct user_pager_info *info, int may_cache); - -extern struct port_bucket *pager_bucket; /* Ports bucket used by pagers. */ -extern struct pager *disk_pager; /* Pager backing to the disk. */ -extern void *disk_image; /* Region mapping entire disk from it. */ +extern struct pager *diskfs_disk_pager; struct disk_image_user { -- cgit v1.2.3