Changeset 72f5866d in mainline


Ignore:
Timestamp:
2005-12-10T15:08:51Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5bb20ec
Parents:
6e716a59
Message:

Fix IA-64 so that it compiles again.
Characters are not recognised correctly.

Location:
arch/ia64
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/Makefile.inc

    r6e716a59 r72f5866d  
    4747        arch/$(ARCH)/src/asm.S \
    4848        arch/$(ARCH)/src/dummy.s \
    49         arch/$(ARCH)/src/putchar.c \
    5049        arch/$(ARCH)/src/ia64.c \
    5150        arch/$(ARCH)/src/fpu_context.c \
     
    5756        arch/$(ARCH)/src/fmath.c \
    5857        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  
    3232#include <arch/types.h>
    3333
    34 
    3534#define SKI_INIT_CONSOLE        20
    3635#define SKI_GETCHAR             21
     
    3938extern void ski_init_console(void);
    4039extern void poll_keyboard(void);
    41        
     40
    4241#endif
  • arch/ia64/src/interrupt.c

    r6e716a59 r72f5866d  
    3232#include <panic.h>
    3333#include <print.h>
     34#include <console/console.h>
    3435#include <arch/types.h>
    3536#include <arch/asm.h>
  • arch/ia64/src/putchar.c

    r6e716a59 r72f5866d  
    3232void putchar(const char ch)
    3333{
    34         ski_putchar(ch);
     34        ski_write(ch);
    3535}
  • arch/ia64/src/ski/ski.c

    r6e716a59 r72f5866d  
    3434static bool kb_disable;
    3535
     36static void ski_write(chardev_t *d, const char ch);
     37static __s32 ski_getchar(void);
     38
    3639/** Display character on debug console
    3740 *
     
    3942 * display character on debug console.
    4043 *
    41  * @param ch   Character to be printed.
     44 * @param d Character device.
     45 * @param ch Character to be printed.
    4246 */
    4347void ski_write(chardev_t *d, const char ch)
     
    5256        );
    5357       
    54         if (ch == '\n') ski_putchar('\r');
     58        if (ch == '\n')
     59                ski_write(d, '\r');
    5560}
    5661
     
    97102
    98103/* Called from getc(). */
    99 static void ski_kb_enable(chardev_t *)
     104static void ski_kb_enable(chardev_t *d)
    100105{
    101106        kb_disable = false;
Note: See TracChangeset for help on using the changeset viewer.