/kernel/trunk/arch/ppc32/include/asm.h |
---|
46,7 → 46,7 |
__asm__ volatile ( |
"mfmsr %0\n" |
"mfmsr %1\n" |
"ori %1, %1, 1 << 15\n" |
// "ori %1, %1, 1 << 15\n" |
"mtmsr %1\n" |
: "=r" (v), "=r" (tmp) |
); |
/kernel/trunk/arch/ppc32/Makefile.inc |
---|
61,7 → 61,6 |
arch/$(ARCH)/src/boot/boot.S \ |
arch/$(ARCH)/src/ppc32.c \ |
arch/$(ARCH)/src/dummy.s \ |
arch/$(ARCH)/src/exception.S \ |
arch/$(ARCH)/src/asm.S \ |
arch/$(ARCH)/src/cpu/cpu.c \ |
arch/$(ARCH)/src/proc/scheduler.c \ |
/kernel/trunk/arch/ppc32/src/exception.S |
---|
File deleted |
/kernel/trunk/arch/ppc32/src/drivers/cuda.c |
---|
28,8 → 28,6 |
#include <arch/drivers/cuda.h> |
#include <arch/asm.h> |
#include <console/chardev.h> |
#include <console/console.h> |
#define CUDA_PACKET 0x01 |
#define CUDA_POWERDOWN 0x0a |
/kernel/trunk/arch/ppc32/src/boot/boot.S |
---|
31,7 → 31,7 |
#include <arch/boot/boot.h> |
#include <arch/boot/memmap.h> |
.section K_TEXT_START, "ax" |
.section K_TEXT_START |
.global kernel_image_start |
kernel_image_start: |
/kernel/trunk/arch/ppc32/_link.ld.in |
---|
1,11 → 1,8 |
/** PPC32 linker script |
* |
* umapped section: |
* kernel text |
* kernel data |
* mapped section: |
* kernel text |
* kernel data |
* It is ELF format, but its only section looks like this: |
* kernel text |
* kernel data |
* |
*/ |
16,24 → 13,14 |
ENTRY(kernel_image_start) |
SECTIONS { |
.unmapped 0: AT (0) { |
unmapped_ktext_start = .; |
*(K_UNMAPPED_TEXT_START); |
unmapped_ktext_end = .; |
unmapped_kdata_start = .; |
*(K_UNMAPPED_DATA_START); |
unmapped_kdata_start = .; |
} |
.mapped PA2KA(BOOT_OFFSET): AT (BOOT_OFFSET) { |
.image PA2KA(BOOT_OFFSET): AT (0) { |
ktext_start = .; |
*(K_TEXT_START); |
*(K_TEXT_START) |
*(.text); |
ktext_end = .; |
kdata_start = .; |
*(K_DATA_START); |
*(K_DATA_START) |
*(.rodata); |
*(.rodata.*); |
*(.data); /* initialized data */ |