update comments

This commit is contained in:
pooka 2014-03-10 23:02:07 +00:00
parent 3cbed593c7
commit 2d6a1e9048

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.18 2014/01/22 23:38:21 christos Exp $ */
/* $NetBSD: cpu.h,v 1.19 2014/03/10 23:02:07 pooka Exp $ */
/*
* Copyright (c) 2008-2011 Antti Kantee. All Rights Reserved.
@ -25,6 +25,11 @@
* SUCH DAMAGE.
*/
/*
* CPU defitions for a generic arch. Unfortunately there are some
* MD #ifdefs here. They are required because of MD inlines and macros.
*/
#ifndef _SYS_RUMP_CPU_H_
#define _SYS_RUMP_CPU_H_
@ -44,20 +49,12 @@ struct cpu_info {
uint64_t ci_pcc_freq;
#endif
/*
* XXX: horrible workaround for vax lock.h.
* I eventually want to nuke rump include/machine, so don't waste
* energy fighting with this.
*/
#ifdef __vax__
int ci_ipimsgs;
#define IPI_SEND_CNCHAR 0
#define IPI_DDB 0
#endif /* __vax__ */
/*
* More stinky hacks, this time for powerpc. Will go away eventually.
*/
#ifdef __powerpc__
struct cache_info {
int dcache_size;
@ -68,14 +65,13 @@ struct cpu_info {
#endif /* __powerpc */
};
/* more dirty rotten vax kludges */
#ifdef __vax__
static __inline void cpu_handle_ipi(void) {}
#endif /* __vax__ */
#ifdef __powerpc__
void __syncicache(void *, size_t);
#endif
#endif /* __powerpc__ */
struct lwp *rumpuser_curlwp(void);
#define curlwp rumpuser_curlwp()