- kern_kern_microtime.c is gone, so replace references of it

with new kern/kern_cctr.c in TODO comments
- also replace struct cc_microtime_state member in struct cpu_info
  with struct cctr_state defined in <sys/cctr.h>, which is unused yet
  in this port
This commit is contained in:
tsutsui 2007-07-21 12:15:05 +00:00
parent 2fd3ecbe55
commit 78c4167012
2 changed files with 5 additions and 10 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.ia64,v 1.2 2006/07/02 17:23:59 cherry Exp $
# $NetBSD: files.ia64,v 1.3 2007/07/21 12:15:05 tsutsui Exp $
#
# new style config file for ia64 architecture
#
@ -44,7 +44,7 @@ file arch/ia64/ia64/pal.S
file dev/cons.c
file dev/cninit.c
# XXX: TODO: file kern/kern_microtime.c
# XXX: TODO: file kern/kern_cctr.c
#
# System bus types

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.2 2007/02/16 02:53:47 ad Exp $ */
/* $NetBSD: cpu.h,v 1.3 2007/07/21 12:15:06 tsutsui Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@ -82,7 +82,7 @@
#ifdef _KERNEL
#include <sys/cpu_data.h>
#include <sys/cc_microtime.h>
#include <sys/cctr.h>
#include <machine/frame.h>
#include <machine/ia64_cpu.h>
@ -95,7 +95,7 @@ struct cpu_info {
*/
struct lwp *ci_curlwp; /* current owner of the processor */
struct cpu_data ci_data; /* MI per-cpu data */
struct cc_microtime_state ci_cc;/* cc_microtime state */
struct cctr_state ci_cc; /* cycle counter state */
struct cpu_info *ci_next; /* next cpu_info structure */
/* XXX: Todo */
@ -170,10 +170,5 @@ int cpu_maxproc(void); /*XXX: Fill in machdep.c */
#define cpu_proc_fork(p1, p2) /* XXX: Look into this. */
/* XXX: TODO: generic microtime support kern/kern_microtime.c
* #define microtime(tv) cc_microtime(tv)
*/
#endif /* _KERNEL_ */
#endif /* _IA64_CPU_H */