Ignore:
Timestamp:
2009-02-21T19:22:54Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bffa876e
Parents:
00eace3
Message:

Unreak arm32 (as far as breakage introduced by 3947 goes) and
adapt the uspace GXemul kbd IRQ driver to use the new pseudo code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/drivers/gxemul.c

    r00eace3 r9446f39  
    188188static void gxemul_irq_handler(irq_t *irq)
    189189{
    190         if ((irq->notif_cfg.notify) && (irq->notif_cfg.answerbox)) {
    191                 ipc_irq_send_notif(irq);
    192         } else {
    193                 char ch = 0;
     190        char ch = 0;
    194191               
    195                 ch = *((char *) gxemul_hw_map.kbd);
    196                 if (ch == '\r') {
    197                         ch = '\n';
    198                 }
    199                 if (ch == 0x7f) {
    200                         ch = '\b';
    201                 }
    202                 chardev_push_character(&console, ch);
    203         }
     192        ch = *((char *) gxemul_hw_map.kbd);
     193        if (ch == '\r') {
     194                ch = '\n';
     195        }
     196        if (ch == 0x7f) {
     197                ch = '\b';
     198        }
     199        chardev_push_character(&console, ch);
    204200}
    205201
Note: See TracChangeset for help on using the changeset viewer.