Changeset 3c50cddc in mainline


Ignore:
Timestamp:
2012-12-19T21:13:56Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a522999
Parents:
7633928c
Message:

Use msim printer and kayboard only for the msim machine.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    r7633928c r3c50cddc  
    447447
    448448% Support for msim keyboard
    449 ! [CONFIG_HID_IN=generic&(PLATFORM=mips32|PLATFORM=mips64)] CONFIG_MIPS_KBD (y/n)
     449! [CONFIG_HID_IN=generic&MACHINE=msim] CONFIG_MSIM_KBD (y/n)
    450450
    451451% Support for msim printer
    452 ! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&(PLATFORM=mips32|PLATFORM=mips64)] CONFIG_MIPS_PRN (y/n)
     452! [(CONFIG_HID_OUT=generic|CONFIG_HID_OUT=serial)&MACHINE=msim] CONFIG_MSIM_PRN (y/n)
    453453
    454454% Support for VIA CUDA controller
     
    486486
    487487% Dummy serial line input
    488 ! [CONFIG_MIPS_KBD=y|CONFIG_ARM_KBD=y] CONFIG_DSRLNIN (y)
     488! [CONFIG_MSIM_KBD=y|CONFIG_ARM_KBD=y] CONFIG_DSRLNIN (y)
    489489
    490490% Dummy serial line output
    491 ! [CONFIG_MIPS_PRN=y|CONFIG_ARM_PRN=y] CONFIG_DSRLNOUT (y)
     491! [CONFIG_MSIM_PRN=y|CONFIG_ARM_PRN=y] CONFIG_DSRLNOUT (y)
    492492
    493493% Serial line input module
  • kernel/arch/mips32/src/mips32.c

    r7633928c r3c50cddc  
    4646#include <arch/debug.h>
    4747#include <arch/debugger.h>
     48#ifdef MACHINE_msim
    4849#include <arch/drivers/msim.h>
     50#endif
    4951#include <genarch/fb/fb.h>
    5052#include <genarch/drivers/dsrln/dsrlnin.h>
     
    133135        interrupt_init();
    134136       
    135 #ifdef CONFIG_MIPS_PRN
     137#ifdef CONFIG_MSIM_PRN
    136138        outdev_t *dsrlndev = dsrlnout_init((ioport8_t *) MSIM_KBD_ADDRESS);
    137139        if (dsrlndev)
     
    162164            str_size(platform));
    163165
    164 #ifdef CONFIG_MIPS_KBD
     166#ifdef CONFIG_MSIM_KBD
    165167        /*
    166168         * Initialize the msim keyboard port. Then initialize the serial line
  • kernel/arch/mips32/src/mm/frame.c

    r7633928c r3c50cddc  
    4040#include <mm/asid.h>
    4141#include <config.h>
     42#ifdef MACHINE_msim
    4243#include <arch/drivers/msim.h>
     44#endif
    4345#include <arch/arch.h>
    4446#include <print.h>
  • kernel/arch/mips64/src/mips64.c

    r7633928c r3c50cddc  
    4646#include <arch/debug.h>
    4747#include <arch/debugger.h>
     48#ifdef MACHINE_msim
    4849#include <arch/drivers/msim.h>
     50#endif
    4951#include <genarch/fb/fb.h>
    5052#include <genarch/drivers/dsrln/dsrlnin.h>
     
    125127        interrupt_init();
    126128       
    127 #ifdef CONFIG_MIPS_PRN
     129#ifdef CONFIG_MSIM_PRN
    128130        outdev_t *dsrlndev = dsrlnout_init((ioport8_t *) MSIM_KBD_ADDRESS);
    129131        if (dsrlndev)
     
    151153            str_size(platform));
    152154       
    153 #ifdef CONFIG_MIPS_KBD
     155#ifdef CONFIG_MSIM_KBD
    154156        /*
    155157         * Initialize the msim keyboard port. Then initialize the serial line
  • kernel/arch/mips64/src/mm/frame.c

    r7633928c r3c50cddc  
    4040#include <mm/asid.h>
    4141#include <config.h>
     42#ifdef MACHINE_msim
    4243#include <arch/drivers/msim.h>
     44#endif
    4345#include <print.h>
    4446
Note: See TracChangeset for help on using the changeset viewer.