diff options
author | jmallett <jmallett@FreeBSD.org> | 2012-03-12 07:34:15 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2012-03-12 07:34:15 +0000 |
commit | ac2071063e8d399aef49037a97358e68d356f582 (patch) | |
tree | 936cf5a0139c76945e65a92e94ec19240883dda3 /sys/mips/nlm/xlp_machdep.c | |
parent | 34c484fbf29f386a35bfe2d2d0fd822a4d99d942 (diff) | |
download | FreeBSD-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/nlm/xlp_machdep.c')
-rw-r--r-- | sys/mips/nlm/xlp_machdep.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/mips/nlm/xlp_machdep.c b/sys/mips/nlm/xlp_machdep.c index 5bdb6d9..39854fb 100644 --- a/sys/mips/nlm/xlp_machdep.c +++ b/sys/mips/nlm/xlp_machdep.c @@ -561,22 +561,6 @@ platform_cpu_init() } void -platform_identify(void) -{ - - printf("XLP Eval Board\n"); -} - -/* - * XXX Maybe return the state of the watchdog in enter, and pass it to - * exit? Like spl(). - */ -void -platform_trap_enter(void) -{ -} - -void platform_reset(void) { uint64_t sysbase = nlm_get_sys_regbase(0); @@ -586,11 +570,6 @@ platform_reset(void) __asm __volatile("wait"); } -void -platform_trap_exit(void) -{ -} - #ifdef SMP /* * XLP threads are started simultaneously when we enable threads, this will |