summaryrefslogtreecommitdiffstats
path: root/sys/mips/rmi
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2012-03-12 07:34:15 +0000
committerjmallett <jmallett@FreeBSD.org>2012-03-12 07:34:15 +0000
commitac2071063e8d399aef49037a97358e68d356f582 (patch)
tree936cf5a0139c76945e65a92e94ec19240883dda3 /sys/mips/rmi
parent34c484fbf29f386a35bfe2d2d0fd822a4d99d942 (diff)
downloadFreeBSD-src-ac2071063e8d399aef49037a97358e68d356f582.zip
FreeBSD-src-ac2071063e8d399aef49037a97358e68d356f582.tar.gz
Remove platform APIs which are not used by any code and which had only stub
implementations or no implementation on all platforms. Some of these functions might be good ideas, but their semantics were unclear given the lack of implementation, and an unlucky porter could be fooled into trying to implement them or, worse, being baffled when something like platform_trap_enter() failed to be called.
Diffstat (limited to 'sys/mips/rmi')
-rw-r--r--sys/mips/rmi/xlr_machdep.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/mips/rmi/xlr_machdep.c b/sys/mips/rmi/xlr_machdep.c
index 836c605..d6fdf43 100644
--- a/sys/mips/rmi/xlr_machdep.c
+++ b/sys/mips/rmi/xlr_machdep.c
@@ -517,19 +517,6 @@ platform_cpu_init()
}
void
-platform_identify(void)
-{
-
- printf("Board [%d:%d], processor 0x%08x\n", (int)xlr_boot1_info.board_major_version,
- (int)xlr_boot1_info.board_minor_version, mips_rd_prid());
-}
-
-void
-platform_trap_enter(void)
-{
-}
-
-void
platform_reset(void)
{
xlr_reg_t *mmio = xlr_io_mmio(XLR_IO_GPIO_OFFSET);
@@ -538,11 +525,6 @@ platform_reset(void)
xlr_write_reg(mmio, 8, 1);
}
-void
-platform_trap_exit(void)
-{
-}
-
#ifdef SMP
int xlr_ap_release[MAXCPU];
OpenPOWER on IntegriCloud