summaryrefslogtreecommitdiffstats
path: root/sys/mips/malta
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/malta
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/malta')
-rw-r--r--sys/mips/malta/malta_machdep.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/sys/mips/malta/malta_machdep.c b/sys/mips/malta/malta_machdep.c
index 0ff34cb..8efb987 100644
--- a/sys/mips/malta/malta_machdep.c
+++ b/sys/mips/malta/malta_machdep.c
@@ -199,19 +199,6 @@ mips_init(void)
#endif
}
-void
-platform_halt(void)
-{
-
-}
-
-
-void
-platform_identify(void)
-{
-
-}
-
/*
* Perform a board-level soft-reset.
* Note that this is not emulated by gxemul.
@@ -225,18 +212,6 @@ platform_reset(void)
*c = MALTA_GORESET;
}
-void
-platform_trap_enter(void)
-{
-
-}
-
-void
-platform_trap_exit(void)
-{
-
-}
-
static uint64_t
malta_cpu_freq(void)
{
OpenPOWER on IntegriCloud