Changeset bffa876e in mainline


Ignore:
Timestamp:
2009-02-21T20:28:27Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7bdd725
Parents:
9446f39
Message:

Remove unnecessary stuff from arm32.

Location:
kernel/arch/arm32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/include/machine.h

    r9446f39 rbffa876e  
    105105#ifdef MACHINE_gxemul
    106106        #define machine_console_init(devno)            gxemul_console_init(devno)
    107         #define machine_grab_console                   gxemul_grab_console
    108         #define machine_release_console                gxemul_release_console
    109107        #define machine_hw_map_init                    gxemul_hw_map_init
    110108        #define machine_timer_irq_start                gxemul_timer_irq_start
  • kernel/arch/arm32/src/console.c

    r9446f39 rbffa876e  
    5151        fb_redraw();
    5252#endif
    53         machine_grab_console();
    5453}
    5554
     
    5756void arch_release_console(void)
    5857{
    59         machine_release_console();
    6058}
    6159
  • kernel/arch/arm32/src/drivers/gxemul.c

    r9446f39 rbffa876e  
    3535
    3636#include <interrupt.h>
    37 #include <ipc/irq.h>
    3837#include <console/chardev.h>
    3938#include <arch/drivers/gxemul.h>
     
    205204}
    206205
    207 
    208 /** Acquire console back for kernel. */
    209 void gxemul_grab_console(void)
    210 {
    211         ipl_t ipl = interrupts_disable();
    212         spinlock_lock(&gxemul_console_irq.lock);
    213         gxemul_console_irq.notif_cfg.notify = false;
    214         spinlock_unlock(&gxemul_console_irq.lock);
    215         interrupts_restore(ipl);
    216 }
    217 
    218 /** Return console to userspace. */
    219 void gxemul_release_console(void)
    220 {
    221         ipl_t ipl = interrupts_disable();
    222         spinlock_lock(&gxemul_console_irq.lock);
    223         if (gxemul_console_irq.notif_cfg.answerbox) {
    224                 gxemul_console_irq.notif_cfg.notify = true;
    225         }
    226         spinlock_unlock(&gxemul_console_irq.lock);
    227         interrupts_restore(ipl);
    228 }
    229 
    230206/** Initializes console object representing gxemul console.
    231207 *
Note: See TracChangeset for help on using the changeset viewer.