summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/include/md_var.h
diff options
context:
space:
mode:
authorbenno <benno@FreeBSD.org>2001-06-16 07:14:07 +0000
committerbenno <benno@FreeBSD.org>2001-06-16 07:14:07 +0000
commitf371c393d1d9d52936226995942133699ae0c05a (patch)
treecf1bec5626b59af2b2af824ef859e3c5bba5f25f /sys/powerpc/include/md_var.h
parent99efa6b196d6054b9e66ecbca2ce6523e8df5f54 (diff)
downloadFreeBSD-src-f371c393d1d9d52936226995942133699ae0c05a.zip
FreeBSD-src-f371c393d1d9d52936226995942133699ae0c05a.tar.gz
This commit (along with one pending in sys/dev/ofw and one in sys/conf) give
us our first minimal glimpse of PowerPC support. With this code we can get to the "mountroot>" prompt on my Apple iMac. We can't get any further due to lack of clock and interrupt handling, among other things. This does however mean that pmap and VM are initialising. We're fairly dependant on OpenFirmware at this point, but I hope to add support for other classes of firmware at a later stage. Reviewed by: obrien, dfr
Diffstat (limited to 'sys/powerpc/include/md_var.h')
-rw-r--r--sys/powerpc/include/md_var.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/powerpc/include/md_var.h b/sys/powerpc/include/md_var.h
index bf99dd7..f5df84c 100644
--- a/sys/powerpc/include/md_var.h
+++ b/sys/powerpc/include/md_var.h
@@ -55,23 +55,5 @@ int fill_regs __P((struct proc *, struct reg *));
int set_regs __P((struct proc *, struct reg *));
int fill_fpregs __P((struct proc *, struct fpreg *));
int set_fpregs __P((struct proc *, struct fpreg *));
-void alpha_register_pci_scsi __P((int bus, int slot, struct cam_sim *sim));
-#ifdef _SYS_BUS_H_
-struct resource *alpha_platform_alloc_ide_intr(int chan);
-int alpha_platform_release_ide_intr(int chan, struct resource *res);
-int alpha_platform_setup_ide_intr(struct device *dev,
- struct resource *res,
- driver_intr_t *fn, void *arg,
- void **cookiep);
-int alpha_platform_teardown_ide_intr(struct device *dev,
- struct resource *res, void *cookie);
-int alpha_platform_pci_setup_intr(device_t dev, device_t child,
- struct resource *irq, int flags,
- driver_intr_t *intr, void *arg,
- void **cookiep);
-int alpha_platform_pci_teardown_intr(device_t dev, device_t child,
- struct resource *irq, void *cookie);
-int alpha_pci_route_interrupt(device_t bus, device_t dev, int pin);
-#endif
#endif /* !_MACHINE_MD_VAR_H_ */
OpenPOWER on IntegriCloud