Changeset 0f269c2 in mainline for kernel/generic/src/lib
- Timestamp:
- 2008-06-03T14:46:06Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b8b0ca
- Parents:
- c70d693
- Location:
- kernel/generic/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/lib/func.c
rc70d693 r0f269c2 74 74 #endif 75 75 if (CPU) 76 printf("cpu% d: halted\n", CPU->id);76 printf("cpu%u: halted\n", CPU->id); 77 77 else 78 78 printf("cpu: halted\n"); -
kernel/generic/src/lib/memstr.c
rc70d693 r0f269c2 68 68 } else { 69 69 70 for (i = 0; i < cnt /sizeof(unative_t); i++)70 for (i = 0; i < cnt / sizeof(unative_t); i++) 71 71 ((unative_t *) dst)[i] = ((unative_t *) src)[i]; 72 72 73 for (j = 0; j < cnt %sizeof(unative_t); j++)73 for (j = 0; j < cnt % sizeof(unative_t); j++) 74 74 ((uint8_t *)(((unative_t *) dst) + i))[j] = ((uint8_t *)(((unative_t *) src) + i))[j]; 75 75 } -
kernel/generic/src/lib/objc_ext.c
rc70d693 r0f269c2 102 102 void __assert_fail(const char *assertion, const char *file, unsigned int line, const char *function) 103 103 { 104 panic("Run-time assertion (%s:% d:%s) failed (%s)", file, line, function ? function : "", assertion);104 panic("Run-time assertion (%s:%u:%s) failed (%s)", file, line, function ? function : "", assertion); 105 105 } 106 106
Note:
See TracChangeset
for help on using the changeset viewer.