Changeset 7c866dc in mainline


Ignore:
Timestamp:
2010-06-21T21:02:27Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
928d983
Parents:
66fcba2
Message:

Add mostly dummy (but buildable) arm32/gta02 target.

Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • HelenOS.config

    r66fcba2 r7c866dc  
    5858
    5959% Machine type
     60@ "gta02" GTA02 / Neo FreeRunner
    6061@ "testarm" GXEmul Testarm
    6162@ "integratorcp" Integratorcp
  • boot/arch/arm32/include/main.h

    r66fcba2 r7c866dc  
    3838
    3939/** Address where characters to be printed are expected. */
     40
     41#ifdef MACHINE_gta02
     42        /* FIXME: Need real S3C244x UART driver. */
     43        #define VIDEORAM_ADDRESS  0x50008020
     44#endif
     45
    4046#ifdef MACHINE_testarm
    4147        #define VIDEORAM_ADDRESS  0x10000000
  • kernel/arch/arm32/Makefile.inc

    r66fcba2 r7c866dc  
    6161        arch/$(KARCH)/src/ras.c
    6262
     63ifeq ($(MACHINE),gta02)
     64        ARCH_SOURCES += arch/$(KARCH)/src/mach/gta02/gta02.c
     65endif
     66
    6367ifeq ($(MACHINE),testarm)
    6468        ARCH_SOURCES += arch/$(KARCH)/src/mach/testarm/testarm.c
  • kernel/arch/arm32/src/machine_func.c

    r66fcba2 r7c866dc  
    3939
    4040#include <arch/machine_func.h>
     41#include <arch/mach/gta02/gta02.h>
    4142#include <arch/mach/integratorcp/integratorcp.h>
    4243#include <arch/mach/testarm/testarm.h>
     
    4849void machine_ops_init(void)
    4950{
    50 #if defined(MACHINE_testarm)
     51#if defined(MACHINE_gta02)
     52        machine_ops = &gta02_machine_ops;
     53#elif defined(MACHINE_testarm)
    5154        machine_ops = &gxemul_machine_ops;
    5255#elif defined(MACHINE_integratorcp)
  • uspace/srv/hid/kbd/Makefile

    r66fcba2 r7c866dc  
    5858
    5959ifeq ($(UARCH),arm32)
     60        ifeq ($(MACHINE),gta02)
     61                SOURCES += \
     62                        port/dummy.c \
     63                        ctl/pc.c
     64        endif
    6065        ifeq ($(MACHINE),testarm)
    6166                SOURCES += \
Note: See TracChangeset for help on using the changeset viewer.