21 lines
449 B
C
21 lines
449 B
C
/* $NetBSD: bus.h,v 1.2 2003/03/06 00:20:42 matt Exp $ */
|
|
|
|
#ifndef _PMPPC_BUS_H_
|
|
#define _PMPPC_BUS_H_
|
|
|
|
#include <powerpc/bus.h>
|
|
|
|
/*
|
|
* Address conversion as seen from a PCI master.
|
|
*/
|
|
#define PHYS_TO_BUS_MEM(t,x) (x)
|
|
#define BUS_MEM_TO_PHYS(t,x) (x)
|
|
|
|
extern struct powerpc_bus_space pmppc_mem_tag;
|
|
extern struct powerpc_bus_space pmppc_pci_io_tag;
|
|
|
|
void pmppc_bus_space_init(void);
|
|
void pmppc_bus_space_mallocok(void);
|
|
|
|
#endif /* _PMPPC_BUS_H_ */
|