Skip to content

Commit

Permalink
M68K: more SMP stubbing
Browse files Browse the repository at this point in the history
We'll very much likely never support SMP on M68K...
(unless someone has an SMP machine to donate? :D)
  • Loading branch information
mmuman committed Jul 20, 2016
1 parent ad4b06a commit 169349c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/system/kernel/arch/m68k/arch_int.cpp
Expand Up @@ -95,6 +95,13 @@ arch_int_disable_io_interrupt(int irq)
/* arch_int_*_interrupts() and friends are in arch_asm.S */


void
arch_int_assign_to_cpu(int32 irq, int32 cpu)
{
// intentionally left blank; no SMP support (yet)
}


static void
print_iframe(struct iframe *frame)
{
Expand Down
11 changes: 11 additions & 0 deletions src/system/kernel/arch/m68k/arch_smp.cpp
Expand Up @@ -15,6 +15,7 @@
#include <boot/stage2.h>
#include <arch/smp.h>
#include <debug.h>
#include <int.h>


status_t
Expand All @@ -31,6 +32,16 @@ arch_smp_per_cpu_init(kernel_args *args, int32 cpu)
}


void
arch_smp_send_multicast_ici(CPUSet& cpuSet)
{
#if KDEBUG
if (are_interrupts_enabled())
panic("arch_smp_send_multicast_ici: called with interrupts enabled");
#endif
}


void
arch_smp_send_ici(int32 target_cpu)
{
Expand Down

0 comments on commit 169349c

Please sign in to comment.