summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/ia64/ia64/autoconf.c2
-rw-r--r--sys/ia64/ia64/db_interface.c2
-rw-r--r--sys/ia64/ia64/db_trace.c6
-rw-r--r--sys/ia64/ia64/machdep.c4
-rw-r--r--sys/ia64/ia64/pmap.c12
-rw-r--r--sys/ia64/ia64/vm_machdep.c2
-rw-r--r--sys/ia64/include/clock.h8
-rw-r--r--sys/ia64/include/cpu.h54
-rw-r--r--sys/ia64/include/md_var.h12
-rw-r--r--sys/ia64/include/pmap.h24
-rw-r--r--sys/ia64/include/profile.h8
-rw-r--r--sys/ia64/include/reg.h18
12 files changed, 76 insertions, 76 deletions
diff --git a/sys/ia64/ia64/autoconf.c b/sys/ia64/ia64/autoconf.c
index 5a6e2d1..d3a166b 100644
--- a/sys/ia64/ia64/autoconf.c
+++ b/sys/ia64/ia64/autoconf.c
@@ -54,7 +54,7 @@
#include <cam/cam_xpt_sim.h>
#include <cam/cam_debug.h>
-static void configure __P((void *));
+static void configure(void *);
SYSINIT(configure, SI_SUB_CONFIGURE, SI_ORDER_THIRD, configure, NULL)
#ifdef DEV_ISA
diff --git a/sys/ia64/ia64/db_interface.c b/sys/ia64/ia64/db_interface.c
index 85d21be..61eb348 100644
--- a/sys/ia64/ia64/db_interface.c
+++ b/sys/ia64/ia64/db_interface.c
@@ -65,7 +65,7 @@
static jmp_buf *db_nofault = 0;
extern jmp_buf db_jmpbuf;
-extern void gdb_handle_exception __P((db_regs_t *, int));
+extern void gdb_handle_exception(db_regs_t *, int);
int db_active;
db_regs_t ddb_regs;
diff --git a/sys/ia64/ia64/db_trace.c b/sys/ia64/ia64/db_trace.c
index 057a47c..ffd8302 100644
--- a/sys/ia64/ia64/db_trace.c
+++ b/sys/ia64/ia64/db_trace.c
@@ -40,9 +40,9 @@
#include <ddb/db_output.h>
-int db_md_set_watchpoint __P((db_expr_t addr, db_expr_t size));
-int db_md_clr_watchpoint __P((db_expr_t addr, db_expr_t size));
-void db_md_list_watchpoints __P((void));
+int db_md_set_watchpoint(db_expr_t addr, db_expr_t size);
+int db_md_clr_watchpoint(db_expr_t addr, db_expr_t size);
+void db_md_list_watchpoints(void);
extern char ia64_vector_table[], do_syscall[], do_syscall_end[];
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index 24bd9b1..230a188 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -132,7 +132,7 @@ SYSCTL_INT(_machdep, CPU_UNALIGNED_FIX, unaligned_fix,
SYSCTL_INT(_machdep, CPU_UNALIGNED_SIGBUS, unaligned_sigbus,
CTLFLAG_RW, &ia64_unaligned_sigbus, 0, "");
-static void cpu_startup __P((void *));
+static void cpu_startup(void *);
SYSINIT(cpu, SI_SUB_CPU, SI_ORDER_FIRST, cpu_startup, NULL)
struct msgbuf *msgbufp=0;
@@ -172,7 +172,7 @@ SYSCTL_INT(_hw, OID_AUTO, availpages, CTLFLAG_RD, &physmem, 0, "");
/* must be 2 less so 0 0 can signal end of chunks */
#define PHYS_AVAIL_ARRAY_END ((sizeof(phys_avail) / sizeof(vm_offset_t)) - 2)
-static void identifycpu __P((void));
+static void identifycpu(void);
struct kva_md_info kmi;
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index d0761ca..5c129bd 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -259,13 +259,13 @@ SYSCTL_INT(_vm_stats_vhpt, OID_AUTO, collisions, CTLFLAG_RD,
SYSCTL_INT(_vm_stats_vhpt, OID_AUTO, resident, CTLFLAG_RD,
&pmap_vhpt_resident, 0, "");
-static PMAP_INLINE void free_pv_entry __P((pv_entry_t pv));
-static pv_entry_t get_pv_entry __P((void));
-static void ia64_protection_init __P((void));
+static PMAP_INLINE void free_pv_entry(pv_entry_t pv);
+static pv_entry_t get_pv_entry(void);
+static void ia64_protection_init(void);
-static void pmap_invalidate_all __P((pmap_t pmap));
-static void pmap_remove_all __P((vm_page_t m));
-static void pmap_enter_quick __P((pmap_t pmap, vm_offset_t va, vm_page_t m));
+static void pmap_invalidate_all(pmap_t pmap);
+static void pmap_remove_all(vm_page_t m);
+static void pmap_enter_quick(pmap_t pmap, vm_offset_t va, vm_page_t m);
static void *pmap_allocf(uma_zone_t zone, int bytes, u_int8_t *flags, int wait);
vm_offset_t
diff --git a/sys/ia64/ia64/vm_machdep.c b/sys/ia64/ia64/vm_machdep.c
index 65cbfce..7773647 100644
--- a/sys/ia64/ia64/vm_machdep.c
+++ b/sys/ia64/ia64/vm_machdep.c
@@ -293,7 +293,7 @@ cpu_fork(td1, p2, td2, flags)
void
cpu_set_fork_handler(td, func, arg)
struct thread *td;
- void (*func) __P((void *));
+ void (*func)(void *);
void *arg;
{
td->td_pcb->pcb_r4 = (u_int64_t) func;
diff --git a/sys/ia64/include/clock.h b/sys/ia64/include/clock.h
index 707422a..41a7302 100644
--- a/sys/ia64/include/clock.h
+++ b/sys/ia64/include/clock.h
@@ -15,10 +15,10 @@ extern int disable_rtc_set;
extern int wall_cmos_clock;
extern int adjkerntz;
-int sysbeep __P((int pitch, int period));
-int acquire_timer2 __P((int mode));
-int release_timer2 __P((void));
-void handleclock __P((void *arg));
+int sysbeep(int pitch, int period);
+int acquire_timer2(int mode);
+int release_timer2(void);
+void handleclock(void *arg);
#endif
diff --git a/sys/ia64/include/cpu.h b/sys/ia64/include/cpu.h
index db77483..c97450d 100644
--- a/sys/ia64/include/cpu.h
+++ b/sys/ia64/include/cpu.h
@@ -107,34 +107,34 @@ struct trapframe;
extern struct rpb *hwrpb;
extern volatile int mc_expected, mc_received;
-int badaddr __P((void *, size_t));
-int badaddr_read __P((void *, size_t, void *));
-u_int64_t console_restart __P((u_int64_t, u_int64_t, u_int64_t));
-void do_sir __P((void));
-void dumpconf __P((void));
-void exception_restore __P((void)); /* MAGIC */
-void frametoreg __P((struct trapframe *, struct reg *));
-long fswintrberr __P((void)); /* MAGIC */
-int ia64_pa_access __P((u_long));
-void ia64_init __P((u_int64_t, u_int64_t));
-void ia64_fpstate_check __P((struct thread *p));
-void ia64_fpstate_save __P((struct thread *p, int write));
-void ia64_fpstate_drop __P((struct thread *p));
-void ia64_fpstate_switch __P((struct thread *p));
-void init_prom_interface __P((struct rpb*));
-void interrupt __P((u_int64_t, struct trapframe *));
+int badaddr (void *, size_t);
+int badaddr_read(void *, size_t, void *);
+u_int64_t console_restart(u_int64_t, u_int64_t, u_int64_t);
+void do_sir(void);
+void dumpconf(void);
+void exception_restore(void); /* MAGIC */
+void frametoreg(struct trapframe *, struct reg *);
+long fswintrberr(void); /* MAGIC */
+int ia64_pa_access(u_long);
+void ia64_init(u_int64_t, u_int64_t);
+void ia64_fpstate_check(struct thread *p);
+void ia64_fpstate_save(struct thread *p, int write);
+void ia64_fpstate_drop(struct thread *p);
+void ia64_fpstate_switch(struct thread *p);
+void init_prom_interface(struct rpb*);
+void interrupt(u_int64_t, struct trapframe *);
void machine_check
- __P((unsigned long, struct trapframe *, unsigned long, unsigned long));
-u_int64_t hwrpb_checksum __P((void));
-void hwrpb_restart_setup __P((void));
-void regdump __P((struct trapframe *));
-void regtoframe __P((struct reg *, struct trapframe *));
-int savectx __P((struct pcb *));
-void restorectx __P((struct pcb *));
-void set_iointr __P((void (*)(void *, unsigned long)));
-void fork_trampoline __P((void)); /* MAGIC */
-void syscall __P((int, u_int64_t *, struct trapframe *));
-void trap __P((int vector, int imm, struct trapframe *framep));
+ (unsigned long, struct trapframe *, unsigned long, unsigned long);
+u_int64_t hwrpb_checksum(void);
+void hwrpb_restart_setup(void);
+void regdump(struct trapframe *);
+void regtoframe(struct reg *, struct trapframe *);
+int savectx(struct pcb *);
+void restorectx(struct pcb *);
+void set_iointr(void (*)(void *, unsigned long));
+void fork_trampoline(void); /* MAGIC */
+void syscall(int, u_int64_t *, struct trapframe *);
+void trap(int vector, int imm, struct trapframe *framep);
void ia64_probe_sapics(void);
int ia64_count_aps(void);
void map_pal_code(void);
diff --git a/sys/ia64/include/md_var.h b/sys/ia64/include/md_var.h
index 874f383..d393df2 100644
--- a/sys/ia64/include/md_var.h
+++ b/sys/ia64/include/md_var.h
@@ -42,11 +42,11 @@ struct fpreg;
struct thread;
struct reg;
-void busdma_swi __P((void));
-void cpu_halt __P((void));
-void cpu_reset __P((void));
-int is_physical_memory __P((vm_offset_t addr));
-void swi_vm __P((void *));
-int ia64_running_in_simulator __P((void));
+void busdma_swi(void);
+void cpu_halt(void);
+void cpu_reset(void);
+int is_physical_memory(vm_offset_t addr);
+void swi_vm(void *);
+int ia64_running_in_simulator(void);
#endif /* !_MACHINE_MD_VAR_H_ */
diff --git a/sys/ia64/include/pmap.h b/sys/ia64/include/pmap.h
index 391553c..75266de 100644
--- a/sys/ia64/include/pmap.h
+++ b/sys/ia64/include/pmap.h
@@ -130,18 +130,18 @@ extern vm_offset_t phys_avail[];
extern vm_offset_t virtual_avail;
extern vm_offset_t virtual_end;
-vm_offset_t pmap_steal_memory __P((vm_size_t));
-void pmap_bootstrap __P((void));
-void pmap_setdevram __P((unsigned long long basea, vm_offset_t sizea));
-int pmap_uses_prom_console __P((void));
-pmap_t pmap_kernel __P((void));
-void *pmap_mapdev __P((vm_offset_t, vm_size_t));
-void pmap_unmapdev __P((vm_offset_t, vm_size_t));
-unsigned *pmap_pte __P((pmap_t, vm_offset_t)) __pure2;
-vm_page_t pmap_use_pt __P((pmap_t, vm_offset_t));
-void pmap_set_opt __P((unsigned *));
-void pmap_set_opt_bsp __P((void));
-struct pmap *pmap_install __P((struct pmap *pmap));
+vm_offset_t pmap_steal_memory(vm_size_t);
+void pmap_bootstrap(void);
+void pmap_setdevram(unsigned long long basea, vm_offset_t sizea);
+int pmap_uses_prom_console(void);
+pmap_t pmap_kernel(void);
+void *pmap_mapdev(vm_offset_t, vm_size_t);
+void pmap_unmapdev(vm_offset_t, vm_size_t);
+unsigned *pmap_pte(pmap_t, vm_offset_t) __pure2;
+vm_page_t pmap_use_pt(pmap_t, vm_offset_t);
+void pmap_set_opt (unsigned *);
+void pmap_set_opt_bsp (void);
+struct pmap *pmap_install(struct pmap *pmap);
#endif /* _KERNEL */
diff --git a/sys/ia64/include/profile.h b/sys/ia64/include/profile.h
index 8d93c5c..f5d5e7f 100644
--- a/sys/ia64/include/profile.h
+++ b/sys/ia64/include/profile.h
@@ -107,10 +107,10 @@ _mcount: \n\
#ifdef GUPROF
struct gmonparam;
-void nullfunc_loop_profiled __P((void));
-void nullfunc_profiled __P((void));
-void startguprof __P((struct gmonparam *p));
-void stopguprof __P((struct gmonparam *p));
+void nullfunc_loop_profiled(void);
+void nullfunc_profiled(void);
+void startguprof(struct gmonparam *p);
+void stopguprof(struct gmonparam *p);
#else
#define startguprof(p)
#define stopguprof(p)
diff --git a/sys/ia64/include/reg.h b/sys/ia64/include/reg.h
index a12c6d5..987d248 100644
--- a/sys/ia64/include/reg.h
+++ b/sys/ia64/include/reg.h
@@ -56,19 +56,19 @@ struct dbreg {
struct thread;
-void restorehighfp __P((struct ia64_fpreg *));
-void savehighfp __P((struct ia64_fpreg *));
+void restorehighfp(struct ia64_fpreg *);
+void savehighfp(struct ia64_fpreg *);
/*
* XXX these interfaces are MI, so they should be declared in a MI place.
*/
-void setregs __P((struct thread *, u_long, u_long, u_long));
-int fill_regs __P((struct thread *, struct reg *));
-int set_regs __P((struct thread *, struct reg *));
-int fill_fpregs __P((struct thread *, struct fpreg *));
-int set_fpregs __P((struct thread *, struct fpreg *));
-int fill_dbregs __P((struct thread *, struct dbreg *));
-int set_dbregs __P((struct thread *, struct dbreg *));
+void setregs(struct thread *, u_long, u_long, u_long);
+int fill_regs(struct thread *, struct reg *);
+int set_regs(struct thread *, struct reg *);
+int fill_fpregs(struct thread *, struct fpreg *);
+int set_fpregs(struct thread *, struct fpreg *);
+int fill_dbregs(struct thread *, struct dbreg *);
+int set_dbregs(struct thread *, struct dbreg *);
#endif
#endif /* _MACHINE_REG_H_ */
OpenPOWER on IntegriCloud