summaryrefslogtreecommitdiffstats
path: root/vidix/sysdep/libdha_os2.c
diff options
context:
space:
mode:
Diffstat (limited to 'vidix/sysdep/libdha_os2.c')
-rw-r--r--vidix/sysdep/libdha_os2.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/vidix/sysdep/libdha_os2.c b/vidix/sysdep/libdha_os2.c
index 14ba370b42..f9d166716b 100644
--- a/vidix/sysdep/libdha_os2.c
+++ b/vidix/sysdep/libdha_os2.c
@@ -5,24 +5,24 @@
* <Holger.Veit@gmd.de>
* Modified 1996 by Sebastien Marineau <marineau@genie.uottawa.ca>
*
- * Permission is hereby granted, free of charge, to any person obtaining a
- * copy of this software and associated documentation files (the "Software"),
- * to deal in the Software without restriction, including without limitation
- * the rights to use, copy, modify, merge, publish, distribute, sublicense,
- * and/or sell copies of the Software, and to permit persons to whom the
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
- *
+ *
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
- * HOLGER VEIT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
- * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
- * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * HOLGER VEIT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
- *
+ *
* Except as contained in this notice, the name of Holger Veit shall not be
* used in advertising or otherwise to promote the sale, use or other dealings
* in this Software without prior written authorization from Holger Veit.
@@ -140,7 +140,7 @@ void unmap_phys_mem(void * base, unsigned long size)
/* and changing it appropriately to call this with the virtual adress */
/* If the above mapping function is only called once, then we can store */
/* the virtual adress and use it here.... */
-
+
par.addr = (ULONG)base;
par.size = 0xffffffff; /* This is the virtual address parameter. Set this to ignore */
plen = sizeof(par);
@@ -156,6 +156,6 @@ void unmap_phys_mem(void * base, unsigned long size)
* the other pointers will immediately become invalid. We avoid closing
* driver for now, but this should be fixed for server exit
*/
-
+
if(!callcount) close_mmap();
}