Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/pnpbios use proper type for memory protection ...



details:   https://anonhg.NetBSD.org/src/rev/1eda3a95d942
branches:  trunk
changeset: 748729:1eda3a95d942
user:      cegger <cegger%NetBSD.org@localhost>
date:      Tue Nov 03 13:14:50 2009 +0000

description:
use proper type for memory protection bits

diffstat:

 sys/arch/i386/pnpbios/pnpbios.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d2bfcb2214f1 -r 1eda3a95d942 sys/arch/i386/pnpbios/pnpbios.c
--- a/sys/arch/i386/pnpbios/pnpbios.c   Tue Nov 03 12:51:56 2009 +0000
+++ b/sys/arch/i386/pnpbios/pnpbios.c   Tue Nov 03 13:14:50 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pnpbios.c,v 1.66 2009/05/04 12:13:19 cegger Exp $ */
+/* $NetBSD: pnpbios.c,v 1.67 2009/11/03 13:14:50 cegger Exp $ */
 
 /*
  * Copyright (c) 2000 Jason R. Thorpe.  All rights reserved.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pnpbios.c,v 1.66 2009/05/04 12:13:19 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pnpbios.c,v 1.67 2009/11/03 13:14:50 cegger Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -124,7 +124,7 @@
 #endif
 
 /* configuration stuff */
-static void *  pnpbios_mapit(paddr_t, u_long, int);
+static void *  pnpbios_mapit(paddr_t, u_long, vm_prot_t);
 static void *  pnpbios_find(void);
 static int     pnpbios_match(device_t, cfdata_t, void *);
 static void    pnpbios_attach(device_t, device_t, void *);
@@ -253,7 +253,7 @@
 }
 
 static void *
-pnpbios_mapit(paddr_t addr, u_long len, int prot)
+pnpbios_mapit(paddr_t addr, u_long len, vm_prot_t prot)
 {
        paddr_t startpa, pa, endpa;
        vaddr_t startva, va;



Home | Main Index | Thread Index | Old Index