Changeset 749fe15b in mainline


Ignore:
Timestamp:
2015-04-12T13:52:49Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6dd7f65, cc575ef9, dcba819
Parents:
eb94d84 (diff), 73e894c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from lp:~jakub/helenos/ddisk

  • Add MSIM platform driver
  • Add ddisk block device driver
Files:
6 added
5 edited

Legend:

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

    reb94d84 r749fe15b  
    6464endif
    6565
     66ifeq ($(MACHINE),msim)
     67        RD_DRVS_ESSENTIAL += \
     68                platform/msim \
     69                block/ddisk
     70endif
     71
    6672SOURCES = \
    6773        arch/$(BARCH)/src/asm.S \
  • contrib/conf/msim.conf

    reb94d84 r749fe15b  
    1717add dkeyboard keyboard 0x10000000 2
    1818add dorder order 0x10000100 5
     19
     20add ddisk disk 0x10000200 6
     21disk fmap "hdisk.img"
     22
  • kernel/arch/mips32/include/arch/drivers/msim.h

    reb94d84 r749fe15b  
    3939#define MSIM_VIDEORAM     0x90000000
    4040#define MSIM_KBD_ADDRESS  0x90000000
     41
    4142#define MSIM_KBD_IRQ      2
     43#define MSIM_DDISK_IRQ    6
    4244
    4345#endif
  • kernel/arch/mips32/src/mach/msim/msim.c

    reb94d84 r749fe15b  
    6262void msim_init(void)
    6363{
     64        cp0_unmask_int(MSIM_DDISK_IRQ);
    6465}
    6566
  • uspace/Makefile

    reb94d84 r749fe15b  
    141141        drv/block/ahci \
    142142        drv/block/ata_bd \
     143        drv/block/ddisk \
    143144        drv/char/i8042 \
    144145        drv/char/pl050 \
     
    180181
    181182ifeq ($(UARCH), $(filter $(UARCH),mips32 mips32eb))
     183ifeq ($(MACHINE),msim)
     184        DIRS += \
     185                drv/platform/msim
     186else
    182187        DIRS += \
    183188                drv/platform/malta \
    184189                drv/bus/pci/pciintel \
    185190                drv/bus/isa
     191endif
    186192endif
    187193
Note: See TracChangeset for help on using the changeset viewer.