pm_stfree in struct pmap is a bitmap value so make it unsigned.
This commit is contained in:
parent
9ca3f123d3
commit
a1e417bc5e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: amiga_init.c,v 1.114 2009/12/04 17:11:10 tsutsui Exp $ */
|
||||
/* $NetBSD: amiga_init.c,v 1.115 2009/12/06 00:33:59 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1994 Michael L. Hitch
|
||||
|
@ -36,7 +36,7 @@
|
|||
#include "opt_devreload.h"
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.114 2009/12/04 17:11:10 tsutsui Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.115 2009/12/06 00:33:59 tsutsui Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -69,7 +69,7 @@ extern u_int lowram;
|
|||
extern u_int Umap;
|
||||
extern u_int Sysseg_pa;
|
||||
#if defined(M68040) || defined(M68060)
|
||||
extern int protostfree;
|
||||
extern u_int protostfree;
|
||||
#endif
|
||||
extern u_long boot_partition;
|
||||
vaddr_t amiga_uptbase;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap_bootstrap.c,v 1.7 2009/11/23 00:11:42 rmind Exp $ */
|
||||
/* $NetBSD: pmap_bootstrap.c,v 1.8 2009/12/06 00:33:59 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -65,7 +65,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.7 2009/11/23 00:11:42 rmind Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap_bootstrap.c,v 1.8 2009/12/06 00:33:59 tsutsui Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -87,7 +87,7 @@ u_int Sysseg_pa;
|
|||
extern paddr_t avail_start;
|
||||
extern paddr_t avail_end;
|
||||
#if defined(M68040) || defined(M68060)
|
||||
extern int protostfree;
|
||||
extern u_int protostfree;
|
||||
#endif
|
||||
|
||||
extern paddr_t msgbufpa;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: atari_init.c,v 1.89 2009/12/02 15:53:34 tsutsui Exp $ */
|
||||
/* $NetBSD: atari_init.c,v 1.90 2009/12/06 00:33:59 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995 Leo Weppelman
|
||||
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.89 2009/12/02 15:53:34 tsutsui Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: atari_init.c,v 1.90 2009/12/06 00:33:59 tsutsui Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_mbtype.h"
|
||||
|
@ -118,7 +118,7 @@ static cpu_kcore_hdr_t cpu_kcore_hdr;
|
|||
extern u_int lowram;
|
||||
int machineid, mmutype, cputype, astpending;
|
||||
#if defined(M68040) || defined(M68060)
|
||||
extern int protostfree;
|
||||
extern u_int protostfree;
|
||||
#endif
|
||||
|
||||
extern char *esym;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap_bootstrap.c,v 1.4 2009/11/23 00:11:43 rmind Exp $ */
|
||||
/* $NetBSD: pmap_bootstrap.c,v 1.5 2009/12/06 00:33:59 tsutsui Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
|
@ -84,7 +84,7 @@ struct memseg usable_segs[NMEM_SEGS];
|
|||
extern paddr_t avail_start;
|
||||
extern paddr_t avail_end;
|
||||
#if defined(M68040) || defined(M68060)
|
||||
extern int protostfree;
|
||||
extern u_int protostfree;
|
||||
#endif
|
||||
|
||||
extern paddr_t msgbufpa;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap_motorola.h,v 1.22 2009/12/02 15:47:45 tsutsui Exp $ */
|
||||
/* $NetBSD: pmap_motorola.h,v 1.23 2009/12/06 00:33:58 tsutsui Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991, 1993
|
||||
|
@ -88,7 +88,7 @@
|
|||
struct pmap {
|
||||
pt_entry_t *pm_ptab; /* KVA of page table */
|
||||
st_entry_t *pm_stab; /* KVA of segment table */
|
||||
int pm_stfree; /* 040: free lev2 blocks */
|
||||
u_int pm_stfree; /* 040: free lev2 blocks */
|
||||
st_entry_t *pm_stpa; /* 040: ST phys addr */
|
||||
uint16_t pm_sref; /* segment table ref count */
|
||||
uint16_t pm_count; /* pmap reference count */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pmap_motorola.c,v 1.52 2009/12/02 15:47:45 tsutsui Exp $ */
|
||||
/* $NetBSD: pmap_motorola.c,v 1.53 2009/12/06 00:33:58 tsutsui Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -117,7 +117,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.52 2009/12/02 15:47:45 tsutsui Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.53 2009/12/06 00:33:58 tsutsui Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -271,7 +271,7 @@ int pv_nfree;
|
|||
int pmap_aliasmask; /* seperation at which VA aliasing ok */
|
||||
#endif
|
||||
#if defined(M68040) || defined(M68060)
|
||||
int protostfree; /* prototype (default) free ST map */
|
||||
u_int protostfree; /* prototype (default) free ST map */
|
||||
#endif
|
||||
|
||||
pt_entry_t *caddr1_pte; /* PTE for CADDR1 */
|
||||
|
|
Loading…
Reference in New Issue