Changeset 3abe472f in mainline


Ignore:
Timestamp:
2008-06-04T19:02:04Z (17 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ba289a
Parents:
009474f
Message:

Make ia64 compile again.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia64/include/types.h

    r009474f r3abe472f  
    6666typedef int64_t native_t;
    6767
     68#define PRIp "lx"       /**< Format for uintptr_t. */
     69#define PRIs "lu"       /**< Format for size_t. */
     70#define PRIc "lu"       /**< Format for count_t. */
     71#define PRIi "lu"       /**< Format for index_t. */
     72
     73#define PRId8 "d"       /**< Format for int8_t. */
     74#define PRId16 "d"      /**< Format for int16_t. */
     75#define PRId32 "d"      /**< Format for int32_t. */
     76#define PRId64 "ld"     /**< Format for int64_t. */
     77#define PRIdn "d"       /**< Format for native_t. */
     78
     79#define PRIu8 "u"       /**< Format for uint8_t. */
     80#define PRIu16 "u"      /**< Format for uint16_t. */
     81#define PRIu32 "u"      /**< Format for uint32_t. */
     82#define PRIu64 "lu"     /**< Format for uint64_t. */
     83#define PRIun "u"       /**< Format for unative_t. */
     84
     85#define PRIx8 "x"       /**< Format for hexadecimal (u)int8_t. */
     86#define PRIx16 "x"      /**< Format for hexadecimal (u)int16_t. */
     87#define PRIx32 "x"      /**< Format for hexadecimal (u)uint32_t. */
     88#define PRIx64 "lx"     /**< Format for hexadecimal (u)int64_t. */
     89#define PRIxn "x"       /**< Format for hexadecimal (u)native_t. */
     90
    6891#endif
    6992
  • uspace/lib/libc/arch/ia64/src/entry.s

    r009474f r3abe472f  
    3232
    3333.globl __entry
    34 .globl __entry_driver
    3534
    3635## User-space task entry point
     
    4241        br.call.sptk.many b0 = __main
    43420:
    44         br.call.sptk.many b0 = __io_init
    45 1:
    46         br.call.sptk.many b0 = main
    47 2:
    48         br.call.sptk.many b0 = __exit
    49 
    50 __entry_driver:
    51         alloc loc0 = ar.pfs, 0, 1, 2, 0
    52         mov r1 = _gp
    53         br.call.sptk.many b0 = __main
    54 0:
    5543        br.call.sptk.many b0 = main
    56441:
Note: See TracChangeset for help on using the changeset viewer.