Changeset 232cd4f in mainline for kernel/arch/mips32


Ignore:
Timestamp:
2012-12-05T21:39:28Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
295732b
Parents:
c0a7545
Message:

Remove support for the lgxemul and bgxemul machines and GXemul drivers.

Location:
kernel/arch/mips32
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/Makefile.inc

    rc0a7545 r232cd4f  
    3636#
    3737
    38 ifeq ($(MACHINE),lgxemul)
    39         BFD_NAME = elf32-tradlittlemips
    40         ENDIANESS = LE
    41 endif
    42 ifeq ($(MACHINE),bgxemul)
    43         BFD_NAME = elf32-tradbigmips
    44         ENDIANESS = BE
    45         GCC_CFLAGS += -D__BE__
    46 endif
    4738ifeq ($(MACHINE),msim)
    4839        BFD_NAME = elf32-tradlittlemips
  • kernel/arch/mips32/src/mips32.c

    rc0a7545 r232cd4f  
    125125        interrupt_init();
    126126       
    127 #ifdef CONFIG_FB
    128         /* GXemul framebuffer */
    129         fb_properties_t gxemul_prop = {
    130                 .addr = 0x12000000,
    131                 .offset = 0,
    132                 .x = 640,
    133                 .y = 480,
    134                 .scan = 1920,
    135                 .visual = VISUAL_RGB_8_8_8,
    136         };
    137        
    138         outdev_t *fbdev = fb_init(&gxemul_prop);
    139         if (fbdev)
    140                 stdout_wire(fbdev);
    141 #endif
    142 
    143127#ifdef CONFIG_MIPS_PRN
    144128        outdev_t *dsrlndev = dsrlnout_init((ioport8_t *) MSIM_KBD_ADDRESS);
     
    164148        platform = "msim";
    165149#endif
    166 #ifdef MACHINE_bgxemul
    167         platform = "gxemul";
    168 #endif
    169 #ifdef MACHINE_lgxemul
    170         platform = "gxemul";
    171 #endif
    172150        sysinfo_set_item_data("platform", NULL, (void *) platform,
    173151            str_size(platform));
     
    175153#ifdef CONFIG_MIPS_KBD
    176154        /*
    177          * Initialize the msim/GXemul keyboard port. Then initialize the serial line
    178          * module and connect it to the msim/GXemul keyboard. Enable keyboard interrupts.
     155         * Initialize the msim keyboard port. Then initialize the serial line
     156         * module and connect it to the msim keyboard. Enable keyboard
     157         * interrupts.
    179158         */
    180159        dsrlnin_instance_t *dsrlnin_instance
  • kernel/arch/mips32/src/mm/frame.c

    rc0a7545 r232cd4f  
    8282        /* MSIM device (dkeyboard) */
    8383        if (frame == (KA2PA(MSIM_KBD_ADDRESS) >> ZERO_PAGE_WIDTH))
    84                 return false;
    85 #endif
    86        
    87 #if defined(MACHINE_lgxemul) || defined(MACHINE_bgxemul)
    88         /* gxemul devices */
    89         if (overlaps(frame << ZERO_PAGE_WIDTH, ZERO_PAGE_SIZE,
    90             0x10000000, MiB2SIZE(256)))
    9184                return false;
    9285#endif
     
    225218                                        if (ZERO_PAGE_VALUE != 0xdeadbeef)
    226219                                                avail = false;
    227 #if defined(MACHINE_lgxemul) || defined(MACHINE_bgxemul)
    228                                         else {
    229                                                 ZERO_PAGE_VALUE_KSEG1(frame) = 0xaabbccdd;
    230                                                 if (ZERO_PAGE_VALUE_KSEG1(frame) != 0xaabbccdd)
    231                                                         avail = false;
    232                                         }
    233 #endif
    234220                                }
    235221                        }
Note: See TracChangeset for help on using the changeset viewer.