/kernel/trunk/generic/src/console/kconsole.c |
---|
158,7 → 158,7 |
str[pos] = ch; |
} |
/** Try to find a command beginning with prefix */ |
/** Try to find a command begenning with prefix */ |
static const char * cmdtab_search_one(const char *name,link_t **startpos) |
{ |
int namelen = strlen(name); |
/kernel/trunk/generic/src/main/main.c |
---|
203,7 → 203,7 |
cpu_init(); |
calibrate_delay_loop(); |
timeout_init(); |
scheduler_init(); |
task_init(); |
/kernel/trunk/arch/sparc64/include/register.h |
---|
File deleted |
/kernel/trunk/arch/sparc64/include/asm.h |
---|
85,19 → 85,6 |
return v; |
} |
/** Read Version Register. |
* |
* @return Value of VER register. |
*/ |
static inline __u64 ver_read(void) |
{ |
__u64 v; |
__asm__ volatile ("rdpr %%ver, %0\n" : "=r" (v)); |
return v; |
} |
/** Read Trap Base Address register. |
* |
* @return Current value in TBA. |
/kernel/trunk/arch/sparc64/include/cpu.h |
---|
29,23 → 29,9 |
#ifndef __sparc64_CPU_H__ |
#define __sparc64_CPU_H__ |
#include <arch/register.h> |
#include <typedefs.h> |
#define MANUF_FUJITSU 0x04 |
#define MANUF_ULTRASPARC 0x17 /**< UltraSPARC I, UltraSPARC II */ |
#define MANUF_SUN 0x3e |
#define IMPL_ULTRASPARCI 0x10 |
#define IMPL_ULTRASPARCII 0x11 |
#define IMPL_ULTRASPARCII_I 0x12 |
#define IMPL_ULTRASPARCII_E 0x13 |
#define IMPL_ULTRASPARCIII 0x15 |
#define IMPL_ULTRASPARCIV_PLUS 0x19 |
#define IMPL_SPARC64V 0x5 |
struct cpu_arch { |
ver_reg_t ver; |
}; |
#endif |
/kernel/trunk/arch/sparc64/src/cpu/cpu.c |
---|
File deleted |
/kernel/trunk/arch/sparc64/src/dummy.s |
---|
30,7 → 30,10 |
.global asm_delay_loop |
.global before_thread_runs_arch |
.global cpu_arch_init |
.global cpu_halt |
.global cpu_identify |
.global cpu_print_report |
.global cpu_sleep |
.global fmath_dpow |
.global fmath_fint |
48,7 → 51,10 |
asm_delay_loop: |
before_thread_runs_arch: |
cpu_arch_init: |
cpu_halt: |
cpu_identify: |
cpu_print_report: |
cpu_sleep: |
fmath_dpow: |
fmath_fint: |
/kernel/trunk/arch/sparc64/Makefile.inc |
---|
47,7 → 47,6 |
CONFIG_OFW = y |
ARCH_SOURCES = \ |
arch/$(ARCH)/src/cpu/cpu.c \ |
arch/$(ARCH)/src/asm.S \ |
arch/$(ARCH)/src/console.c \ |
arch/$(ARCH)/src/context.S \ |