Maxime Henrion
07159f9c56
Cleanup of the d_mmap_t interface.
...
- Get rid of the useless atop() / pmap_phys_address() detour. The
device mmap handlers must now give back the physical address
without atop()'ing it.
- Don't borrow the physical address of the mapping in the returned
int. Now we properly pass a vm_offset_t * and expect it to be
filled by the mmap handler when the mapping was successful. The
mmap handler must now return 0 when successful, any other value
is considered as an error. Previously, returning -1 was the only
way to fail. This change thus accidentally fixes some devices
which were bogusly returning errno constants which would have been
considered as addresses by the device pager.
- Garbage collect the poorly named pmap_phys_address() now that it's
no longer used.
- Convert all the d_mmap_t consumers to the new API.
I'm still not sure wheter we need a __FreeBSD_version bump for this,
since and we didn't guarantee API/ABI stability until 5.1-RELEASE.
Discussed with: alc, phk, jake
Reviewed by: peter
Compile-tested on: LINT (i386), GENERIC (alpha and sparc64)
Runtime-tested on: i386
2003-02-25 03:21:22 +00:00
..
2002-10-07 05:06:38 +00:00
2003-02-19 05:47:46 +00:00
2003-01-04 22:07:48 +00:00
2003-01-04 22:07:48 +00:00
2003-02-19 05:47:46 +00:00
2003-01-01 18:49:04 +00:00
2003-01-01 18:49:04 +00:00
2003-02-19 05:47:46 +00:00
2003-02-17 10:03:02 +00:00
2003-02-20 08:18:15 +00:00
2003-02-20 04:18:42 +00:00
2003-01-13 00:33:17 +00:00
2003-02-19 05:47:46 +00:00
2003-02-17 09:55:10 +00:00
2003-01-26 04:00:39 +00:00
2003-02-21 19:00:48 +00:00
2002-11-16 06:35:53 +00:00
2003-02-24 05:46:55 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-20 04:18:42 +00:00
2002-10-12 05:32:24 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-24 01:28:10 +00:00
2002-10-02 07:44:29 +00:00
2003-02-22 23:30:37 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-16 10:39:49 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-20 04:26:58 +00:00
2003-01-05 03:48:14 +00:00
2003-02-19 05:47:46 +00:00
2003-01-21 20:33:27 +00:00
2003-01-06 01:01:08 +00:00
2003-01-20 17:46:48 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-20 04:18:42 +00:00
2003-02-14 12:44:48 +00:00
2003-02-17 09:58:11 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 13:36:51 +00:00
2003-02-17 09:55:10 +00:00
2003-02-22 17:58:06 +00:00
2003-01-29 11:29:22 +00:00
2003-02-24 01:28:10 +00:00
2003-02-23 13:45:55 +00:00
2003-02-01 10:06:40 +00:00
2002-12-22 05:35:03 +00:00
2003-02-17 09:55:10 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2002-10-29 15:47:06 +00:00
2002-10-20 22:33:42 +00:00
2003-01-07 20:10:04 +00:00
2002-11-17 04:15:34 +00:00
2003-02-19 13:36:51 +00:00
2003-02-17 09:55:10 +00:00
2003-01-13 00:33:17 +00:00
2003-02-19 05:47:46 +00:00
2003-01-19 00:34:17 +00:00
2003-02-19 05:47:46 +00:00
2003-02-03 19:49:35 +00:00
2002-10-17 20:03:38 +00:00
2003-01-30 12:36:30 +00:00
2002-11-14 16:11:12 +00:00
2003-02-20 04:26:58 +00:00
2003-02-19 10:12:42 +00:00
2002-08-30 04:04:37 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-12 07:00:59 +00:00
2003-02-03 19:49:35 +00:00
2003-02-19 05:47:46 +00:00
2002-10-02 09:09:25 +00:00
2003-02-17 09:55:10 +00:00
2003-02-17 09:58:11 +00:00
2003-01-21 20:33:27 +00:00
2003-02-18 03:36:49 +00:00
2003-02-25 03:21:22 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2002-10-16 16:28:33 +00:00
2003-02-20 03:26:11 +00:00
2003-02-20 08:18:15 +00:00
2003-02-20 08:18:15 +00:00
2003-01-13 23:04:32 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-20 20:54:45 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-01-30 12:51:32 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2002-10-11 14:58:34 +00:00
2003-02-20 03:26:11 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-21 22:23:40 +00:00
2003-02-21 22:23:40 +00:00
2003-02-20 03:26:11 +00:00
2003-02-23 23:00:28 +00:00
2003-02-19 05:47:46 +00:00
2003-01-13 00:33:17 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-20 03:26:11 +00:00
2003-02-09 12:29:38 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-19 05:47:46 +00:00
2003-02-22 05:01:12 +00:00
2003-02-23 18:09:05 +00:00
2003-02-19 05:47:46 +00:00
2003-02-15 06:04:55 +00:00
2003-01-04 22:10:36 +00:00