Changeset 32443b0 in mainline
- Timestamp:
- 2008-06-04T19:37:52Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 40257f5
- Parents:
- 82b71ef1
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/include/types.h
r82b71ef1 r32443b0 58 58 typedef int32_t native_t; 59 59 60 #define PRIp "x" /**< Format for uintptr_t. */ 61 #define PRIs "u" /**< Format for size_t. */ 62 #define PRIc "u" /**< Format for count_t. */ 63 #define PRIi "u" /**< Format for index_t. */ 64 65 #define PRId8 "d" /**< Format for int8_t. */ 66 #define PRId16 "d" /**< Format for int16_t. */ 67 #define PRId32 "ld" /**< Format for int32_t. */ 68 #define PRId64 "lld" /**< Format for int64_t. */ 69 #define PRIdn "d" /**< Format for native_t. */ 70 71 #define PRIu8 "u" /**< Format for uint8_t. */ 72 #define PRIu16 "u" /**< Format for uint16_t. */ 73 #define PRIu32 "u" /**< Format for uint32_t. */ 74 #define PRIu64 "llu" /**< Format for uint64_t. */ 75 #define PRIun "u" /**< Format for unative_t. */ 76 77 #define PRIx8 "x" /**< Format for hexadecimal (u)int8_t. */ 78 #define PRIx16 "x" /**< Format for hexadecimal (u)int16_t. */ 79 #define PRIx32 "x" /**< Format for hexadecimal (u)uint32_t. */ 80 #define PRIx64 "llx" /**< Format for hexadecimal (u)int64_t. */ 81 #define PRIxn "x" /**< Format for hexadecimal (u)native_t. */ 82 60 83 /** Page Table Entry. */ 61 84 typedef struct { -
kernel/generic/include/typedefs.h
r82b71ef1 r32443b0 36 36 #define KERN_TYPEDEFS_H_ 37 37 38 #include <arch/types.h> 39 38 40 #define NULL 0 39 41 #define false 0 -
uspace/lib/libc/arch/mips32/src/entry.s
r82b71ef1 r32443b0 53 53 nop 54 54 55 jal __io_init56 nop57 58 55 jal main 59 56 nop … … 63 60 .end 64 61 65 .ent __entry_driver66 __entry_driver:67 .frame $sp, 32, $3168 .cpload $2569 70 71 # Mips o32 may store its arguments on stack, make space (16 bytes),72 # so that it could work with -O073 # Make space additional 16 bytes for the stack frame74 75 addiu $sp, -3276 .cprestore 16 # Allow PIC code77 78 jal __main79 nop80 81 jal main82 nop83 84 jal __exit85 nop86 .end87 62 # Alignment of output section data to 0x4000 88 63 .section .data
Note:
See TracChangeset
for help on using the changeset viewer.