kernel: Add missing smp memory barrier calls. Set max cpu to 1

* Set max cpu to 1 for PPC until atomic functions are finished
* We have atomic functions inline in the kernel and assembly
  code in libroot post-scheduler merge... isn't that a lot of
  duplication?
This commit is contained in:
Alexander von Gluck IV
2014-01-19 19:33:21 -06:00
parent cf87df8ba3
commit c9e66bfc9b
3 changed files with 114 additions and 1 deletions
@@ -10,7 +10,8 @@
# error This file is included from <boot/kernel_args.h> only
#endif
#define SMP_MAX_CPUS 16
#define SMP_MAX_CPUS 1
// TODO: Until inline kernel atomic code for ppc is fixed
#define MAX_PHYSICAL_MEMORY_RANGE 4
#define MAX_PHYSICAL_ALLOCATED_RANGE 8