Changeset 009474f in mainline


Ignore:
Timestamp:
2008-06-04T18:48:16Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3abe472f
Parents:
fadfaf8
Message:

Make arm32 compile again.

Files:
4 edited

Legend:

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

    rfadfaf8 r009474f  
    3838KERNEL_LOAD_ADDRESS = 0x80200000
    3939
    40 ifeq ($(MACHINE), gxemul_testarm)
     40# ifeq ($(MACHINE), gxemul_testarm)
    4141        DMACHINE = MACHINE_GXEMUL_TESTARM
    42 endif
     42# endif
    4343
    4444ATSIGN = %
     
    9191        arch/$(ARCH)/src/mm/page_fault.c
    9292
    93 ifeq ($(MACHINE), gxemul_testarm)
     93# ifeq ($(MACHINE), gxemul_testarm)
    9494        ARCH_SOURCES += arch/$(ARCH)/src/drivers/gxemul.c
    95 endif
     95# endif
    9696
  • kernel/arch/arm32/include/types.h

    rfadfaf8 r009474f  
    6565typedef int32_t native_t;
    6666
     67#define PRIp "x"        /**< Format for uintptr_t. */
     68#define PRIs "u"        /**< Format for size_t. */
     69#define PRIc "u"        /**< Format for count_t. */
     70#define PRIi "u"        /**< Format for index_t. */
     71
     72#define PRId8 "d"       /**< Format for int8_t. */
     73#define PRId16 "d"      /**< Format for int16_t. */
     74#define PRId32 "d"      /**< Format for int32_t. */
     75#define PRId64 "lld"    /**< Format for int64_t. */
     76#define PRIdn "d"       /**< Format for native_t. */
     77
     78#define PRIu8 "u"       /**< Format for uint8_t. */
     79#define PRIu16 "u"      /**< Format for uint16_t. */
     80#define PRIu32 "u"      /**< Format for uint32_t. */
     81#define PRIu64 "llu"    /**< Format for uint64_t. */
     82#define PRIun "u"       /**< Format for unative_t. */
     83
     84#define PRIx8 "x"       /**< Format for hexadecimal (u)int8_t. */
     85#define PRIx16 "x"      /**< Format for hexadecimal (u)int16_t. */
     86#define PRIx32 "x"      /**< Format for hexadecimal (u)uint32_t. */
     87#define PRIx64 "llx"    /**< Format for hexadecimal (u)int64_t. */
     88#define PRIxn "x"       /**< Format for hexadecimal (u)native_t. */
    6789
    6890/** Page table entry.
  • kernel/arch/arm32/src/mm/page_fault.c

    rfadfaf8 r009474f  
    4141#include <arch.h>
    4242#include <interrupt.h>
     43#include <print.h>
    4344
    4445/** Returns value stored in fault status register.
  • uspace/lib/libc/arch/arm32/src/entry.s

    rfadfaf8 r009474f  
    3232
    3333.global __entry
    34 .global __entry_driver
    3534
    3635## User-space task entry point
     
    3938__entry:
    4039        bl __main
    41         bl __io_init
    4240        bl main
    4341        bl __exit
    44 
    45 __entry_driver:
    46         bl __main
    47         bl main
    48         bl __exit
    49 
Note: See TracChangeset for help on using the changeset viewer.