diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-09 23:57:28 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-10 00:45:11 +0100 |
commit | a2622ab4a8b8dcf7feaaf9c466169feb929bcf2e (patch) | |
tree | 59da795bf605bb6729d0472d27c8d80fe260ed67 /device/dev_pager.h | |
parent | eaafcf0c76fe5a21f180c1a00a590e5f1d296ebc (diff) | |
download | gnumach-a2622ab4a8b8dcf7feaaf9c466169feb929bcf2e.tar.gz gnumach-a2622ab4a8b8dcf7feaaf9c466169feb929bcf2e.tar.bz2 gnumach-a2622ab4a8b8dcf7feaaf9c466169feb929bcf2e.zip |
device/dev_pager.c (device_pager_data_request): remove forward declaration
* Makefrag.am: Include device/dev_pager.h.
* device/dev_pager.c: Likewise.
(device_map_page): Remove forward declaration.
* device/dev_pager.h: New file.
Add copyright.
[_DEVICE_DEV_PAGER_H_]: Add ifndef.
(device_map_page): Add prototype.
Diffstat (limited to 'device/dev_pager.h')
-rw-r--r-- | device/dev_pager.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/device/dev_pager.h b/device/dev_pager.h new file mode 100644 index 00000000..193edc4b --- /dev/null +++ b/device/dev_pager.h @@ -0,0 +1,24 @@ +/* + * Copyright (c) 2013 Free Software Foundation. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef _DEVICE_DEV_PAGER_H_ +#define _DEVICE_DEV_PAGER_H_ + +vm_offset_t device_map_page(void *dsp, vm_offset_t offset); + +#endif /* _DEVICE_DEV_PAGER_H_ */ |