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/idt/idt_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/idt/idt_machdep.c')
-rw-r--r-- | sys/mips/idt/idt_machdep.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sys/mips/idt/idt_machdep.c b/sys/mips/idt/idt_machdep.c index 6c76c26..ac18748 100644 --- a/sys/mips/idt/idt_machdep.c +++ b/sys/mips/idt/idt_machdep.c @@ -82,19 +82,6 @@ platform_cpu_init() } void -platform_halt(void) -{ - -} - - -void -platform_identify(void) -{ - -} - -void platform_reset(void) { volatile unsigned int * p = (void *)0xb8008000; @@ -111,18 +98,6 @@ platform_reset(void) } void -platform_trap_enter(void) -{ - -} - -void -platform_trap_exit(void) -{ - -} - -void platform_start(__register_t a0, __register_t a1, __register_t a2 __unused, __register_t a3 __unused) { |