Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Nuke __P().
details: https://anonhg.NetBSD.org/src/rev/2c3666e003ab
branches: trunk
changeset: 554369:2c3666e003ab
user: junyoung <junyoung%NetBSD.org@localhost>
date: Mon Oct 27 13:43:48 2003 +0000
description:
Nuke __P().
diffstat:
sys/arch/i386/include/apmvar.h | 16 +-
sys/arch/i386/include/bioscall.h | 4 +-
sys/arch/i386/include/cpu.h | 94 ++++++------
sys/arch/i386/include/cpufunc.h | 4 +-
sys/arch/i386/include/db_machdep.h | 12 +-
sys/arch/i386/include/freebsd_machdep.h | 4 +-
sys/arch/i386/include/gdt.h | 18 +-
sys/arch/i386/include/ibcs2_machdep.h | 8 +-
sys/arch/i386/include/loadfile_machdep.h | 14 +-
sys/arch/i386/include/pccons.h | 6 +-
sys/arch/i386/include/pmap.h | 35 ++--
sys/arch/i386/include/proc.h | 4 +-
sys/arch/i386/include/profile.h | 4 +-
sys/arch/i386/include/segments.h | 22 +-
sys/arch/i386/include/svr4_machdep.h | 4 +-
sys/arch/i386/include/sysarch.h | 24 +-
sys/arch/i386/include/userret.h | 4 +-
sys/arch/i386/include/vm86.h | 24 +-
sys/arch/x86/include/apicvar.h | 4 +-
sys/arch/x86/include/bios32.h | 6 +-
sys/arch/x86/include/bootinfo.h | 4 +-
sys/arch/x86/include/bus.h | 233 +++++++++++++++---------------
sys/arch/x86/include/cpuvar.h | 20 +-
sys/arch/x86/include/i82093var.h | 6 +-
sys/arch/x86/include/i82489var.h | 16 +-
sys/arch/x86/include/intr.h | 10 +-
sys/arch/x86/include/lock.h | 18 +-
sys/arch/x86/include/mpconfig.h | 6 +-
28 files changed, 310 insertions(+), 314 deletions(-)
diffs (truncated from 1355 to 300 lines):
diff -r 3b0966501ce3 -r 2c3666e003ab sys/arch/i386/include/apmvar.h
--- a/sys/arch/i386/include/apmvar.h Mon Oct 27 13:27:41 2003 +0000
+++ b/sys/arch/i386/include/apmvar.h Mon Oct 27 13:43:48 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apmvar.h,v 1.17 2003/04/02 07:35:59 thorpej Exp $ */
+/* $NetBSD: apmvar.h,v 1.18 2003/10/27 13:44:20 junyoung Exp $ */
/*-
* Copyright (c) 1995 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -68,12 +68,12 @@
#ifdef _KERNEL
extern struct apm_connect_info apminfo; /* in locore */
extern int apmpresent;
-int apmcall __P((int function, struct bioscallregs *regs));
-void bioscall __P((int function, struct bioscallregs *regs));
-void apm_cpu_busy __P((void));
-void apm_cpu_idle __P((void));
-void apminit __P((void));
-int apm_set_powstate __P((u_int devid, u_int powstate));
-int apm_busprobe __P((void));
+int apmcall(int function, struct bioscallregs *regs);
+void bioscall(int function, struct bioscallregs *regs);
+void apm_cpu_busy(void);
+void apm_cpu_idle(void);
+void apminit(void);
+int apm_set_powstate(u_int devid, u_int powstate);
+int apm_busprobe(void);
#endif /* _KERNEL */
#endif /* __i386_apm_h__ */
diff -r 3b0966501ce3 -r 2c3666e003ab sys/arch/i386/include/bioscall.h
--- a/sys/arch/i386/include/bioscall.h Mon Oct 27 13:27:41 2003 +0000
+++ b/sys/arch/i386/include/bioscall.h Mon Oct 27 13:43:48 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bioscall.h,v 1.8 2003/04/02 07:35:59 thorpej Exp $ */
+/* $NetBSD: bioscall.h,v 1.9 2003/10/27 13:44:20 junyoung Exp $ */
/*-
* Copyright (c) 1997, 2000 The NetBSD Foundation, Inc.
@@ -104,6 +104,6 @@
#define ES r_es.biosreg_half[BIOSREG_LO]
-void bioscall __P((int /* function*/ , struct bioscallregs * /* regs */));
+void bioscall(int /* function*/ , struct bioscallregs * /* regs */);
#endif
#endif /* __I386_BIOSCALL_H__ */
diff -r 3b0966501ce3 -r 2c3666e003ab sys/arch/i386/include/cpu.h
--- a/sys/arch/i386/include/cpu.h Mon Oct 27 13:27:41 2003 +0000
+++ b/sys/arch/i386/include/cpu.h Mon Oct 27 13:43:48 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.h,v 1.108 2003/10/10 13:02:34 simonb Exp $ */
+/* $NetBSD: cpu.h,v 1.109 2003/10/27 13:44:20 junyoung Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -118,9 +118,9 @@
u_int64_t ci_tsc_freq; /* cpu cycles/second */
struct cpu_functions *ci_func; /* start/stop functions */
- void (*cpu_setup) __P((struct cpu_info *));
+ void (*cpu_setup)(struct cpu_info *);
/* proc-dependant init */
- void (*ci_info) __P((struct cpu_info *));
+ void (*ci_info)(struct cpu_info *);
int ci_want_resched;
int ci_astpending;
@@ -216,14 +216,14 @@
extern struct cpu_info *cpu_info[X86_MAXPROCS];
-void cpu_boot_secondary_processors __P((void));
-void cpu_init_idle_pcbs __P((void));
+void cpu_boot_secondary_processors(void);
+void cpu_init_idle_pcbs(void);
/*
* Preempt the current process if in interrupt from user mode,
* or after the current trap/syscall if in system mode.
*/
-extern void need_resched __P((struct cpu_info *));
+extern void need_resched(struct cpu_info *);
#else /* !MULTIPROCESSOR */
@@ -296,9 +296,9 @@
/*
* We need a machine-independent name for this.
*/
-extern void (*delay_func) __P((int));
+extern void (*delay_func)(int);
struct timeval;
-extern void (*microtime_func) __P((struct timeval *));
+extern void (*microtime_func)(struct timeval *);
#define DELAY(x) (*delay_func)(x)
#define delay(x) (*delay_func)(x)
@@ -314,9 +314,9 @@
const char *cpu_vendorname;
const char *cpu_name;
int cpu_class;
- void (*cpu_setup) __P((struct cpu_info *));
- void (*cpu_cacheinfo) __P((struct cpu_info *));
- void (*cpu_info) __P((struct cpu_info *));
+ void (*cpu_setup)(struct cpu_info *);
+ void (*cpu_cacheinfo)(struct cpu_info *);
+ void (*cpu_info)(struct cpu_info *);
};
@@ -327,9 +327,9 @@
struct cpu_cpuid_family {
int cpu_class;
const char *cpu_models[CPU_MAXMODEL+2];
- void (*cpu_setup) __P((struct cpu_info *));
- void (*cpu_probe) __P((struct cpu_info *));
- void (*cpu_info) __P((struct cpu_info *));
+ void (*cpu_setup)(struct cpu_info *);
+ void (*cpu_probe)(struct cpu_info *);
+ void (*cpu_info)(struct cpu_info *);
} cpu_family[CPU_MAXFAMILY - CPU_MINFAMILY + 1];
};
@@ -346,12 +346,12 @@
extern int i386_has_sse2;
/* machdep.c */
-void dumpconf __P((void));
-int cpu_maxproc __P((void));
-void cpu_reset __P((void));
-void i386_init_pcb_tss_ldt __P((struct cpu_info *));
-void i386_proc0_tss_ldt_init __P((void));
-void i386_bufinit __P((void));
+void dumpconf(void);
+int cpu_maxproc(void);
+void cpu_reset(void);
+void i386_init_pcb_tss_ldt(struct cpu_info *);
+void i386_proc0_tss_ldt_init(void);
+void i386_bufinit(void);
/* identcpu.c */
extern int tmx86_has_longrun;
@@ -362,71 +362,71 @@
extern u_int tmx86_set_longrun_mode(u_int);
void tmx86_get_longrun_status_all(void);
u_int tmx86_get_longrun_mode(void);
-void identifycpu __P((struct cpu_info *));
+void identifycpu(struct cpu_info *);
/* vm_machdep.c */
-void cpu_proc_fork __P((struct proc *, struct proc *));
+void cpu_proc_fork(struct proc *, struct proc *);
/* locore.s */
struct region_descriptor;
-void lgdt __P((struct region_descriptor *));
-void fillw __P((short, void *, size_t));
+void lgdt(struct region_descriptor *);
+void fillw(short, void *, size_t);
struct pcb;
-void savectx __P((struct pcb *));
-void switch_exit __P((struct lwp *, void (*)(struct lwp *)));
-void proc_trampoline __P((void));
+void savectx(struct pcb *);
+void switch_exit(struct lwp *, void (*)(struct lwp *));
+void proc_trampoline(void);
/* clock.c */
-void initrtclock __P((void));
-void startrtclock __P((void));
-void i8254_delay __P((int));
-void i8254_microtime __P((struct timeval *));
-void i8254_initclocks __P((void));
+void initrtclock(void);
+void startrtclock(void);
+void i8254_delay(int);
+void i8254_microtime(struct timeval *);
+void i8254_initclocks(void);
/* kern_microtime.c */
extern struct timeval cc_microset_time;
-void cc_microtime __P((struct timeval *));
-void cc_microset __P((struct cpu_info *));
+void cc_microtime(struct timeval *);
+void cc_microset(struct cpu_info *);
/* cpu.c */
-void cpu_probe_features __P((struct cpu_info *));
+void cpu_probe_features(struct cpu_info *);
/* npx.c */
-void npxsave_lwp __P((struct lwp *, int));
-void npxsave_cpu __P((struct cpu_info *, int));
+void npxsave_lwp(struct lwp *, int);
+void npxsave_cpu(struct cpu_info *, int);
/* vm_machdep.c */
-int kvtop __P((caddr_t));
+int kvtop(caddr_t);
#ifdef MATH_EMULATE
/* math_emulate.c */
-int math_emulate __P((struct trapframe *, ksiginfo_t *));
+int math_emulate(struct trapframe *, ksiginfo_t *);
#endif
#ifdef USER_LDT
/* sys_machdep.h */
-int i386_get_ldt __P((struct lwp *, void *, register_t *));
-int i386_set_ldt __P((struct lwp *, void *, register_t *));
+int i386_get_ldt(struct lwp *, void *, register_t *);
+int i386_set_ldt(struct lwp *, void *, register_t *);
#endif
/* isa_machdep.c */
-void isa_defaultirq __P((void));
-int isa_nmi __P((void));
+void isa_defaultirq(void);
+int isa_nmi(void);
#ifdef VM86
/* vm86.c */
-void vm86_gpfault __P((struct lwp *, int));
+void vm86_gpfault(struct lwp *, int);
#endif /* VM86 */
/* consinit.c */
-void kgdb_port_init __P((void));
+void kgdb_port_init(void);
/* bus_machdep.c */
-void x86_bus_space_init __P((void));
-void x86_bus_space_mallocok __P((void));
+void x86_bus_space_init(void);
+void x86_bus_space_mallocok(void);
#include <machine/psl.h> /* Must be after struct cpu_info declaration */
diff -r 3b0966501ce3 -r 2c3666e003ab sys/arch/i386/include/cpufunc.h
--- a/sys/arch/i386/include/cpufunc.h Mon Oct 27 13:27:41 2003 +0000
+++ b/sys/arch/i386/include/cpufunc.h Mon Oct 27 13:43:48 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufunc.h,v 1.26 2003/06/26 16:45:19 drochner Exp $ */
+/* $NetBSD: cpufunc.h,v 1.27 2003/10/27 13:44:20 junyoung Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -175,7 +175,7 @@
#ifdef notyet
-void setidt __P((int idx, /*XXX*/caddr_t func, int typ, int dpl));
+void setidt(int idx, /*XXX*/caddr_t func, int typ, int dpl);
#endif
/* debug register */
diff -r 3b0966501ce3 -r 2c3666e003ab sys/arch/i386/include/db_machdep.h
--- a/sys/arch/i386/include/db_machdep.h Mon Oct 27 13:27:41 2003 +0000
+++ b/sys/arch/i386/include/db_machdep.h Mon Oct 27 13:43:48 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.h,v 1.23 2003/08/11 13:20:39 atatat Exp $ */
+/* $NetBSD: db_machdep.h,v 1.24 2003/10/27 13:44:20 junyoung Exp $ */
/*
* Mach Operating System
@@ -96,8 +96,8 @@
((user) && (addr) < VM_MAX_ADDRESS))
#if 0
-boolean_t db_check_access __P((vaddr_t, int, task_t));
-boolean_t db_phys_eq __P((task_t, vaddr_t, task_t, vaddr_t));
+boolean_t db_check_access(vaddr_t, int, task_t);
+boolean_t db_phys_eq(task_t, vaddr_t, task_t, vaddr_t);
#endif
/* macros for printing OS server dependent task name */
@@ -122,7 +122,7 @@
#define db_thread_fp_used(thread) ((thread)->pcb->ims.ifps != 0)
-int kdb_trap __P((int, int, db_regs_t *));
+int kdb_trap(int, int, db_regs_t *);
/*
* We define some of our own commands
@@ -136,8 +136,8 @@
#define DB_ELF_SYMBOLS
#define DB_ELFSIZE 32
-extern void db_machine_init __P((void));
+extern void db_machine_init(void);
-extern void cpu_debug_dump __P((void));
+extern void cpu_debug_dump(void);
#endif /* _I386_DB_MACHDEP_H_ */
diff -r 3b0966501ce3 -r 2c3666e003ab sys/arch/i386/include/freebsd_machdep.h
Home |
Main Index |
Thread Index |
Old Index