Changeset 086a600 in mainline for test/mm/slab1/test.c
- Timestamp:
- 2006-02-02T23:54:42Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fb10289b
- Parents:
- 4a5b2b0e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/mm/slab1/test.c
r4a5b2b0e r086a600 33 33 #include <arch.h> 34 34 #include <panic.h> 35 #include <memstr.h> 35 36 36 37 #define VAL_COUNT 1024 … … 51 52 for (i=0; i < count; i++) { 52 53 data[i] = slab_alloc(cache, 0); 54 memsetb((__address)data[i], size, 0); 53 55 } 54 56 printf("done.\n"); … … 62 64 for (i=0; i < count; i++) { 63 65 data[i] = slab_alloc(cache, 0); 66 memsetb((__address)data[i], size, 0); 64 67 } 65 68 printf("done.\n"); … … 75 78 for (i=count/2; i < count; i++) { 76 79 data[i] = slab_alloc(cache, 0); 80 memsetb((__address)data[i], size, 0); 77 81 } 78 82 printf("done.\n");
Note:
See TracChangeset
for help on using the changeset viewer.