Changeset 694ca93f in mainline for uspace/app/tester
- Timestamp:
- 2011-05-01T19:34:26Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0e26444
- Parents:
- 1ff896e (diff), 042fbe0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/app/tester
- Files:
-
- 4 added
- 4 edited
-
Makefile (modified) (1 diff)
-
devs/devman1.c (added)
-
devs/devman1.def (added)
-
fault/fault2.c (modified) (2 diffs)
-
mm/malloc2.c (added)
-
mm/malloc2.def (added)
-
tester.c (modified) (1 diff)
-
tester.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/Makefile
r1ff896e r694ca93f 52 52 loop/loop1.c \ 53 53 mm/malloc1.c \ 54 mm/malloc2.c \ 55 devs/devman1.c \ 54 56 hw/misc/virtchar1.c \ 55 57 hw/serial/serial1.c \ -
uspace/app/tester/fault/fault2.c
r1ff896e r694ca93f 29 29 30 30 #include "../tester.h" 31 #include <stdio.h> 31 32 32 33 typedef int __attribute__((may_alias)) aliasing_int; … … 38 39 39 40 var1 = *((aliasing_int *) (((char *) (&var)) + 1)); 41 printf("Read %d\n", var1); 40 42 41 43 return "Survived unaligned read"; -
uspace/app/tester/tester.c
r1ff896e r694ca93f 62 62 #include "loop/loop1.def" 63 63 #include "mm/malloc1.def" 64 #include "mm/malloc2.def" 64 65 #include "hw/serial/serial1.def" 65 66 #include "hw/misc/virtchar1.def" 66 67 #include "libext2/libext2_1.def" 68 #include "devs/devman1.def" 67 69 {NULL, NULL, NULL, false} 68 70 }; -
uspace/app/tester/tester.h
r1ff896e r694ca93f 78 78 extern const char *test_loop1(void); 79 79 extern const char *test_malloc1(void); 80 extern const char *test_malloc2(void); 80 81 extern const char *test_serial1(void); 81 82 extern const char *test_virtchar1(void); 82 83 extern const char *test_libext2_1(void); 84 extern const char *test_devman1(void); 83 85 84 86 extern test_t tests[];
Note:
See TracChangeset
for help on using the changeset viewer.
