Cosmetic: use uintN_t, drop leading underscores from the volatile

keyword, use extern in function declarations.
This commit is contained in:
uwe 2005-07-10 16:21:01 +00:00
parent 17668059a3
commit 496eb1f350

View File

@ -1,4 +1,4 @@
/* $NetBSD: proc.h,v 1.7 2004/03/24 15:38:41 wiz Exp $ */
/* $NetBSD: proc.h,v 1.8 2005/07/10 16:21:01 uwe Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc. All rights reserved.
@ -43,8 +43,8 @@
/* Kernel stack PTE */
struct md_upte {
u_int32_t addr;
u_int32_t data;
uint32_t addr;
uint32_t data;
};
struct mdlwp {
@ -59,12 +59,12 @@ struct mdlwp {
#define MDP_USEDFPU 0x0001 /* has used the FPU */
struct mdproc {
__volatile int md_astpending; /* AST pending on return to userland */
volatile int md_astpending; /* AST pending on return to userland */
};
#ifdef _KERNEL
#ifndef _LOCORE
void sh_proc0_init(void);
extern void sh_proc0_init(void);
extern struct md_upte *curupte; /* SH3 wired u-area hack */
#endif /* _LOCORE */
#endif /* _KERNEL */