Changeset f3e2663 in mainline for uspace/app/tester
- Timestamp:
- 2011-04-03T11:17:45Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 106743d
- Parents:
- 10eb754 (diff), b2a081ae (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:
-
- 2 added
- 4 edited
-
Makefile (modified) (1 diff)
-
devs/devman1.c (added)
-
devs/devman1.def (added)
-
fault/fault2.c (modified) (2 diffs)
-
tester.c (modified) (1 diff)
-
tester.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/Makefile
r10eb754 rf3e2663 49 49 loop/loop1.c \ 50 50 mm/malloc1.c \ 51 devs/devman1.c \ 51 52 hw/misc/virtchar1.c \ 52 53 hw/serial/serial1.c -
uspace/app/tester/fault/fault2.c
r10eb754 rf3e2663 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
r10eb754 rf3e2663 64 64 #include "hw/serial/serial1.def" 65 65 #include "hw/misc/virtchar1.def" 66 #include "devs/devman1.def" 66 67 {NULL, NULL, NULL, false} 67 68 }; -
uspace/app/tester/tester.h
r10eb754 rf3e2663 80 80 extern const char *test_serial1(void); 81 81 extern const char *test_virtchar1(void); 82 extern const char *test_devman1(void); 82 83 83 84 extern test_t tests[];
Note:
See TracChangeset
for help on using the changeset viewer.
