Changeset cf85e24c in mainline for test/mm/falloc1/test.c
- Timestamp:
- 2006-04-22T23:00:26Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 12c7f27
- Parents:
- e692a27
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/mm/falloc1/test.c
re692a27 rcf85e24c 41 41 42 42 void test(void) { 43 __address * frames = (__address *) malloc(MAX_FRAMES*sizeof(__address), 44 0); 43 __address * frames = (__address *) malloc(MAX_FRAMES*sizeof(__address), 0); 45 44 int results[MAX_ORDER+1]; 46 45 … … 60 59 61 60 if (ALIGN_UP(frames[allocated], FRAME_SIZE << order) != frames[allocated]) { 62 panic("Test failed. Block at address % P(size %dK) is not aligned\n", frames[allocated], (FRAME_SIZE << order) >> 10);61 panic("Test failed. Block at address %p (size %dK) is not aligned\n", frames[allocated], (FRAME_SIZE << order) >> 10); 63 62 } 64 63
Note:
See TracChangeset
for help on using the changeset viewer.