Remove __P.

profile.h and bus.h were excluded because there is currently WIP.

Reviewed by: tmm
This commit is contained in:
Alfred Perlstein 2002-03-21 00:06:55 +00:00
parent e41ed5da90
commit 91f5bcb812
5 changed files with 38 additions and 38 deletions

View File

@ -92,16 +92,16 @@
/*
* Routines for dealing with the cache.
*/
void cache_init __P((phandle_t)); /* turn it on */
void icache_flush __P((vm_offset_t, vm_offset_t));
void icache_inval_phys __P((vm_offset_t, vm_offset_t));
void dcache_flush __P((vm_offset_t, vm_offset_t));
void dcache_inval __P((pmap_t, vm_offset_t, vm_offset_t));
void dcache_inval_phys __P((vm_offset_t, vm_offset_t));
void dcache_blast __P((void));
void ecache_flush __P((vm_offset_t, vm_offset_t));
void cache_init(phandle_t); /* turn it on */
void icache_flush(vm_offset_t, vm_offset_t);
void icache_inval_phys(vm_offset_t, vm_offset_t);
void dcache_flush(vm_offset_t, vm_offset_t);
void dcache_inval(pmap_t, vm_offset_t, vm_offset_t);
void dcache_inval_phys(vm_offset_t, vm_offset_t);
void dcache_blast(void);
void ecache_flush(vm_offset_t, vm_offset_t);
#if 0
void ecache_inval_phys __P((vm_offset_t, vm_offset_t));
void ecache_inval_phys(vm_offset_t, vm_offset_t);
#endif
/*

View File

@ -50,7 +50,7 @@
#include <sys/cdefs.h>
__BEGIN_DECLS
extern int __flt_rounds __P((void));
extern int __flt_rounds(void);
__END_DECLS
#define FLT_RADIX 2 /* b */

View File

@ -76,24 +76,24 @@ struct iommu_state {
};
/* interfaces for PCI/SBUS code */
void iommu_init __P((char *, struct iommu_state *, int, u_int32_t));
void iommu_reset __P((struct iommu_state *));
void iommu_enter __P((struct iommu_state *, vm_offset_t, vm_offset_t, int));
void iommu_remove __P((struct iommu_state *, vm_offset_t, size_t));
void iommu_init(char *, struct iommu_state *, int, u_int32_t);
void iommu_reset(struct iommu_state *);
void iommu_enter(struct iommu_state *, vm_offset_t, vm_offset_t, int);
void iommu_remove(struct iommu_state *, vm_offset_t, size_t);
int iommu_dvmamap_create __P((bus_dma_tag_t, struct iommu_state *, int,
bus_dmamap_t *));
int iommu_dvmamap_destroy __P((bus_dma_tag_t, struct iommu_state *,
bus_dmamap_t));
int iommu_dvmamap_load __P((bus_dma_tag_t, struct iommu_state *, bus_dmamap_t,
void *, bus_size_t, bus_dmamap_callback_t *, void *, int));
void iommu_dvmamap_unload __P((bus_dma_tag_t, struct iommu_state *,
bus_dmamap_t));
void iommu_dvmamap_sync __P((bus_dma_tag_t, struct iommu_state *, bus_dmamap_t,
bus_dmasync_op_t));
int iommu_dvmamem_alloc __P((bus_dma_tag_t, struct iommu_state *, void **, int,
bus_dmamap_t *));
void iommu_dvmamem_free __P((bus_dma_tag_t, struct iommu_state *, void *,
bus_dmamap_t));
int iommu_dvmamap_create(bus_dma_tag_t, struct iommu_state *, int,
bus_dmamap_t *);
int iommu_dvmamap_destroy(bus_dma_tag_t, struct iommu_state *,
bus_dmamap_t);
int iommu_dvmamap_load(bus_dma_tag_t, struct iommu_state *, bus_dmamap_t,
void *, bus_size_t, bus_dmamap_callback_t *, void *, int);
void iommu_dvmamap_unload(bus_dma_tag_t, struct iommu_state *,
bus_dmamap_t);
void iommu_dvmamap_sync(bus_dma_tag_t, struct iommu_state *, bus_dmamap_t,
bus_dmasync_op_t);
int iommu_dvmamem_alloc(bus_dma_tag_t, struct iommu_state *, void **, int,
bus_dmamap_t *);
void iommu_dvmamem_free(bus_dma_tag_t, struct iommu_state *, void *,
bus_dmamap_t);
#endif /* !_MACHINE_IOMMUVAR_H_ */

View File

@ -72,13 +72,13 @@ struct dbreg {
/*
* 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_ */

View File

@ -42,9 +42,9 @@
#include <ddb/db_variables.h>
#include <ddb/db_watch.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);
static void db_watch_print(vm_offset_t wp, int bm);