Make st_entry_t and pt_entry_t unsigned.

These values contain paddr_t and bitmap flags.

XXX paddr_t is unsigned long, not unsigned int.
This commit is contained in:
tsutsui 2009-01-17 01:38:10 +00:00
parent fbb8e2162a
commit ac2053000c
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: pte_motorola.h,v 1.5 2007/10/17 19:55:05 garbled Exp $ */
/* $NetBSD: pte_motorola.h,v 1.6 2009/01/17 01:38:10 tsutsui Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -83,8 +83,8 @@
* m68k motorola MMU segment/page table entries
*/
typedef int st_entry_t; /* segment table entry */
typedef int pt_entry_t; /* page table entry */
typedef u_int st_entry_t; /* segment table entry */
typedef u_int pt_entry_t; /* page table entry */
#define PT_ENTRY_NULL NULL
#define ST_ENTRY_NULL NULL