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:
parent
fbb8e2162a
commit
ac2053000c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user