Changeset 244f284 in mainline
- Timestamp:
- 2005-05-13T21:45:35Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb43679
- Parents:
- da79d0fd
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/Makefile.inc
rda79d0fd r244f284 22 22 arch/ia64.c \ 23 23 arch/fpu_context.c \ 24 arch/context.S 24 arch/context.S \ 25 arch/ski/ski.c -
arch/ia64/include/ski/ski.h
rda79d0fd r244f284 30 30 #define __SKI_H__ 31 31 32 #define SKI_CONSOLE_INIT 20 33 #define SKI_CONSOLE_PUTC 31 32 #define SKI_INIT_CONSOLE 20 33 #define SKI_PUTCHAR 31 34 35 extern void ski_init_console(void); 36 extern void ski_putchar(const char ch); 34 37 35 38 #endif -
arch/ia64/src/fake.s
rda79d0fd r244f284 34 34 .global before_thread_runs_arch 35 35 .global arch_late_init 36 .global arch_post_mm_init37 .global arch_pre_mm_init38 36 .global cpu_arch_init 39 37 .global cpu_halt … … 55 53 asm_delay_loop: 56 54 arch_late_init: 57 arch_post_mm_init:58 arch_pre_mm_init:59 55 cpu_arch_init: 60 56 cpu_halt: -
arch/ia64/src/ia64.c
rda79d0fd r244f284 27 27 */ 28 28 29 #include <arch.h> 30 #include <arch/ski/ski.h> 31 32 void arch_pre_mm_init(void) 33 { 34 } 35 36 void arch_post_mm_init(void) 37 { 38 ski_init_console(); 39 } -
arch/ia64/src/putchar.c
rda79d0fd r244f284 28 28 29 29 #include <putchar.h> 30 #include <arch/types.h>31 30 #include <arch/ski/ski.h> 32 31 33 32 void putchar(const char ch) 34 33 { 35 __asm__ ( 36 "mov r15=%0\n" 37 "mov r32=%1\n" /* r32 is in0 */ 38 "break 0x80000\n" /* modifies r8 */ 39 : 40 : "i" (SKI_CONSOLE_PUTC), "r" (ch) 41 : "r15", "in0", "r8" 42 ); 43 44 if (ch == '\n') putchar('\r'); 34 ski_putchar(ch); 45 35 } -
arch/ia64/src/start.S
rda79d0fd r244f284 27 27 # 28 28 29 #include <arch/ski/ski.h>30 31 29 .section K_TEXT_START 32 30 .global k_text_start … … 52 50 movl r8 = k_text_start ;; 53 51 movl r9 = k_text_end ;; 54 sub r8 = r9, r8 ;;52 sub r8 = r9, r8 55 53 addl r10 = @gprel(hardcoded_ktext_size), gp;; 56 54 st4 [r10] = r8 ;; … … 58 56 movl r8 = k_data_start ;; 59 57 movl r9 = k_data_end ;; 60 sub r8 = r9, r8 ;;58 sub r8 = r9, r8 61 59 addl r10 = @gprel(hardcoded_kdata_size), gp;; 62 60 st4 [r10] = r8 ;; … … 65 63 st8 [r10] = r1 66 64 67 # initialize Ski console using SSC (Simulator System Call)68 mov r15=SKI_CONSOLE_INIT69 break 0x8000070 71 65 br.call.sptk.many b0=main_bsp 72 66 -
src/main/main.c
rda79d0fd r244f284 57 57 58 58 char *project = "SPARTAN kernel"; 59 char *copyright = "Copyright (C) 2001-2005 Jakub Jermar ,Copyright (C) 2005 HelenOS project";59 char *copyright = "Copyright (C) 2001-2005 Jakub Jermar\nCopyright (C) 2005 HelenOS project"; 60 60 61 61 config_t config;
Note:
See TracChangeset
for help on using the changeset viewer.