Changeset 880de6e in mainline
- Timestamp:
- 2005-11-28T16:12:35Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ff4f6b
- Parents:
- 5803145
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/smp/apic.c
r5803145 r880de6e 44 44 * Tested on: 45 45 * Bochs 2.0.2 - Bochs 2.2 with 2-8 CPUs 46 * Simics 2.0.28 - Simics 2.2.19 2- 8CPUs46 * Simics 2.0.28 - Simics 2.2.19 2-15 CPUs 47 47 * VMware Workstation 5.5 with 2 CPUs 48 48 * ASUS P/I-P65UP5 + ASUS C-P55T2D REV. 1.41 with 2x 200Mhz Pentium CPUs -
arch/ia64/src/drivers/keyboard.c
r5803145 r880de6e 1 1 /* 2 * Copyright (C) 2003 Josef Cejka3 * Copyright (C) 2005 Jakub Jermar4 2 * Copyright (C) 2005 Jakub Vana 5 3 * All rights reserved. … … 47 45 }; 48 46 49 50 int kb_disable; 51 47 bool kb_disable; 52 48 53 49 /** Initialize keyboard subsystem. */ … … 59 55 } 60 56 61 /** Process keyboard interrupt. */57 /** Ask keyboard if a key was pressed. */ 62 58 void poll_keyboard(void) 63 59 { 64 if(kb_disable) return;65 60 char ch; 66 61 62 if (kb_disable) 63 return; 64 67 65 ch = ski_getchar(); 68 if(ch=='\r') ch='\n'; 69 if(ch) chardev_push_character(&kbrd, ch); 70 66 if(ch == '\r') 67 ch = '\n'; 68 if (ch) 69 chardev_push_character(&kbrd, ch); 71 70 } 72 71 … … 74 73 void keyboard_enable(void) 75 74 { 76 kb_disable =false;75 kb_disable = false; 77 76 } 78 77 … … 80 79 void keyboard_disable(void) 81 80 { 82 kb_disable =true;81 kb_disable = true; 83 82 } -
arch/ia64/src/ski/ski.c
r5803145 r880de6e 66 66 } 67 67 68 69 /** Display character on debug console 68 /** Ask debug console if a key was pressed. 70 69 * 71 70 * Use SSC (Simulator System Call) to 72 71 * get character from debug console. 73 * Non blocking HW call 74 * @return Returns ascii code of pressed key or 0 if no key pressed 72 * 73 * This call is non-blocking. 74 * 75 * @return ASCII code of pressed key or 0 if no key pressed. 75 76 */ 76 77 __s32 ski_getchar(void) -
doc/arch/ia32
r5803145 r880de6e 20 20 o 2x-8x 686 CPU 21 21 o Simics 2.0.28 - Simics 2.2.19 22 o 2x- 8x Pentium 4 CPU22 o 2x-15x Pentium 4 CPU 23 23 o VMware Workstation 5.5 24 24 o 2x CPU -
generic/src/main/kinit.c
r5803145 r880de6e 58 58 #endif /* CONFIG_TEST */ 59 59 60 61 60 /** Kernel initialization thread. 61 * 62 * kinit takes care of higher level kernel 63 * initialization (i.e. thread creation, 64 * userspace initialization etc.). 65 * 66 * @param arg Not used. 67 */ 62 68 void kinit(void *arg) 63 69 { -
generic/src/main/main.c
r5803145 r880de6e 77 77 context_t ctx; 78 78 79 /* 80 * These 'hardcoded' variables will be intiali sed by79 /** 80 * These 'hardcoded' variables will be intialized by 81 81 * the linker or the low level assembler code with 82 82 * appropriate sizes and addresses. … … 89 89 size_t init_size = 0; 90 90 91 /* 91 /** 92 92 * Size of memory in bytes taken by kernel and heap. 93 93 */ 94 94 static size_t kernel_size; 95 95 96 /* 96 /** 97 97 * Size of heap. 98 98 */ … … 100 100 101 101 102 /* 102 /** 103 103 * Extra space between heap and stack 104 104 * enforced by alignment requirements.
Note:
See TracChangeset
for help on using the changeset viewer.