Changeset 49319ac in mainline
- Timestamp:
- 2007-01-03T21:41:46Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6dbe6844
- Parents:
- dfe9e2c
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
rdfe9e2c r49319ac 5 5 @ "ia32" Intel IA-32 (PC) 6 6 @ "ia32xen" Intel IA-32 on Xen hypervisor 7 @ "ia64" Intel IA-64 (Ski)7 @ "ia64" Intel IA-64 8 8 @ "mips32msim" MIPS 32-bit (MSIM) 9 9 @ "mips32sim" MIPS 32-bit (Simics) -
kernel/arch/ia64/Makefile.inc
rdfe9e2c r49319ac 43 43 AFLAGS += -mconstant-gp 44 44 45 DEFS += -D__64_BITS__ -DINIT0_ADDRESS=$(INIT0_ADDRESS) -DINIT0_SIZE=$(INIT0_SIZE) 45 DEFS += -D__64_BITS__ -DINIT0_ADDRESS=$(INIT0_ADDRESS) -DINIT0_SIZE=$(INIT0_SIZE) -D$(MACHINE) 46 47 46 48 47 49 ## Compile with page hash table support. … … 70 72 arch/$(ARCH)/src/fpu_context.c \ 71 73 arch/$(ARCH)/src/context.S \ 72 arch/$(ARCH)/src/ski/ski.c \73 74 arch/$(ARCH)/src/cpu/cpu.c \ 74 75 arch/$(ARCH)/src/ivt.S \ … … 82 83 arch/$(ARCH)/src/ddi/ddi.c \ 83 84 arch/$(ARCH)/src/drivers/it.c 85 86 ifeq ($(MACHINE),ski) 87 ARCH_SOURCES += arch/$(ARCH)/src/ski/ski.c 88 DEFS += -DSKI 89 endif 90 91 ifeq ($(MACHINE),i460GX) 92 ARCH_SOURCES += arch/$(ARCH)/src/simics/ega.c 93 DEFS += -DI460GX 94 endif 95 -
kernel/arch/ia64/include/interrupt.h
rdfe9e2c r49319ac 52 52 53 53 /** External Interrupt vectors. */ 54 #define INTERRUPT_TIMER 054 #define INTERRUPT_TIMER 255 55 55 #define INTERRUPT_SPURIOUS 15 56 56 -
kernel/arch/ia64/src/ia64.c
rdfe9e2c r49319ac 51 51 #include <syscall/syscall.h> 52 52 #include <ddi/irq.h> 53 #include <arch/simics/ega.h> 53 54 54 55 void arch_pre_main(void) … … 82 83 } 83 84 85 86 84 87 void arch_post_mm_init(void) 85 88 { 86 89 irq_init(INR_COUNT, INR_COUNT); 90 #ifdef SKI 87 91 ski_init_console(); 92 #else 93 ega_init(); 94 #endif 88 95 it_init(); 89 96 } … … 99 106 void arch_post_smp_init(void) 100 107 { 101 thread_t *t;102 108 103 109 if (config.cpu_active == 1) { … … 105 111 * Create thread that polls keyboard. 106 112 */ 107 t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll"); 113 #ifdef SKI 114 thread_t *t; 115 t = thread_create(kkbdpoll, NULL, TASK, 0, "kkbdpoll", true); 108 116 if (!t) 109 117 panic("cannot create kkbdpoll\n"); 110 118 thread_ready(t); 119 #endif 111 120 } 112 121 } … … 156 165 void arch_grab_console(void) 157 166 { 167 #ifdef SKI 158 168 ski_kbd_grab(); 169 #endif 159 170 } 160 171 /** Return console to userspace … … 163 174 void arch_release_console(void) 164 175 { 176 #ifdef SKI 165 177 ski_kbd_release(); 178 #endif 166 179 } 167 180 -
kernel/generic/src/ipc/irq.c
rdfe9e2c r49319ac 106 106 break; 107 107 #endif 108 #if defined(ia64) 108 #if defined(ia64) && defined(SKI) 109 109 case CMD_IA64_GETCHAR: 110 110 dstval = _getc(&ski_uconsole); -
kernel/kernel.config
rdfe9e2c r49319ac 36 36 @ "indy" SGI Indy 37 37 ! [ARCH=mips32] MACHINE (choice) 38 39 # Machine type 40 @ "ski" Ski ia64 simulator 41 @ "i460GX" i460GX chipset machine (include Simics) 42 ! [ARCH=ia64] MACHINE (choice) 43 38 44 39 45 # Framebuffer support
Note:
See TracChangeset
for help on using the changeset viewer.