Changeset 72f5866d in mainline
- Timestamp:
- 2005-12-10T15:08:51Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5bb20ec
- Parents:
- 6e716a59
- Location:
- arch/ia64
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia64/Makefile.inc
r6e716a59 r72f5866d 47 47 arch/$(ARCH)/src/asm.S \ 48 48 arch/$(ARCH)/src/dummy.s \ 49 arch/$(ARCH)/src/putchar.c \50 49 arch/$(ARCH)/src/ia64.c \ 51 50 arch/$(ARCH)/src/fpu_context.c \ … … 57 56 arch/$(ARCH)/src/fmath.c \ 58 57 arch/$(ARCH)/src/mm/frame.c \ 59 arch/$(ARCH)/src/drivers/it.c \ 60 arch/$(ARCH)/src/drivers/keyboard.c 58 arch/$(ARCH)/src/drivers/it.c -
arch/ia64/include/ski/ski.h
r6e716a59 r72f5866d 32 32 #include <arch/types.h> 33 33 34 35 34 #define SKI_INIT_CONSOLE 20 36 35 #define SKI_GETCHAR 21 … … 39 38 extern void ski_init_console(void); 40 39 extern void poll_keyboard(void); 41 40 42 41 #endif -
arch/ia64/src/interrupt.c
r6e716a59 r72f5866d 32 32 #include <panic.h> 33 33 #include <print.h> 34 #include <console/console.h> 34 35 #include <arch/types.h> 35 36 #include <arch/asm.h> -
arch/ia64/src/putchar.c
r6e716a59 r72f5866d 32 32 void putchar(const char ch) 33 33 { 34 ski_ putchar(ch);34 ski_write(ch); 35 35 } -
arch/ia64/src/ski/ski.c
r6e716a59 r72f5866d 34 34 static bool kb_disable; 35 35 36 static void ski_write(chardev_t *d, const char ch); 37 static __s32 ski_getchar(void); 38 36 39 /** Display character on debug console 37 40 * … … 39 42 * display character on debug console. 40 43 * 41 * @param ch Character to be printed. 44 * @param d Character device. 45 * @param ch Character to be printed. 42 46 */ 43 47 void ski_write(chardev_t *d, const char ch) … … 52 56 ); 53 57 54 if (ch == '\n') ski_putchar('\r'); 58 if (ch == '\n') 59 ski_write(d, '\r'); 55 60 } 56 61 … … 97 102 98 103 /* Called from getc(). */ 99 static void ski_kb_enable(chardev_t * )104 static void ski_kb_enable(chardev_t *d) 100 105 { 101 106 kb_disable = false;
Note:
See TracChangeset
for help on using the changeset viewer.