| @@ -90,27 +90,27 @@ __KERNEL_RCSID(0, "machdep.c,v 1.1.2.34 | | | @@ -90,27 +90,27 @@ __KERNEL_RCSID(0, "machdep.c,v 1.1.2.34 |
90 | #include <dev/pci/pcivar.h> | | 90 | #include <dev/pci/pcivar.h> |
91 | #include <dev/pci/pciconf.h> | | 91 | #include <dev/pci/pciconf.h> |
92 | | | 92 | |
93 | #include <mips/rmi/rmixlreg.h> | | 93 | #include <mips/rmi/rmixlreg.h> |
94 | #include <mips/rmi/rmixlvar.h> | | 94 | #include <mips/rmi/rmixlvar.h> |
95 | #include <mips/rmi/rmixl_intr.h> | | 95 | #include <mips/rmi/rmixl_intr.h> |
96 | #include <mips/rmi/rmixl_firmware.h> | | 96 | #include <mips/rmi/rmixl_firmware.h> |
97 | #include <mips/rmi/rmixl_comvar.h> | | 97 | #include <mips/rmi/rmixl_comvar.h> |
98 | #include <mips/rmi/rmixl_pcievar.h> | | 98 | #include <mips/rmi/rmixl_pcievar.h> |
99 | #include <mips/rmi/rmixl_pcixvar.h> | | 99 | #include <mips/rmi/rmixl_pcixvar.h> |
100 | | | 100 | |
101 | //#define MACHDEP_DEBUG 1 | | 101 | //#define MACHDEP_DEBUG 1 |
102 | #ifdef MACHDEP_DEBUG | | 102 | #ifdef MACHDEP_DEBUG |
103 | int machdep_debug=MACHDEP_DEBUG; | | 103 | extern int machdep_debug; |
104 | # define DPRINTF(x,...) do { if (machdep_debug) printf(x, ## __VA_ARGS__); } while(0) | | 104 | # define DPRINTF(x,...) do { if (machdep_debug) printf(x, ## __VA_ARGS__); } while(0) |
105 | #else | | 105 | #else |
106 | # define DPRINTF(x,...) | | 106 | # define DPRINTF(x,...) |
107 | #endif | | 107 | #endif |
108 | | | 108 | |
109 | extern int comcnspeed; | | 109 | extern int comcnspeed; |
110 | | | 110 | |
111 | void mach_init(int, int32_t *, void *, int64_t); | | 111 | void mach_init(int, int32_t *, void *, int64_t); |
112 | | | 112 | |
113 | /* | | 113 | /* |
114 | * Do all the stuff that locore normally does before calling main(). | | 114 | * Do all the stuff that locore normally does before calling main(). |
115 | */ | | 115 | */ |
116 | void | | 116 | void |