188 | | = =References== |
| 188 | * [https://github.com/WeiY/rtems.git Source code repository] |
| 189 | |
| 190 | '''How to build the RTEMS to test atomic operation:''' |
| 191 | |
| 192 | * 1. cd ~/ |
| 193 | * 2. git clone https://github.com/WeiY/rtems.git |
| 194 | * 3. git checkout -b atomic origin/atomic |
| 195 | * 4. mkdir ~/rtems-build |
| 196 | * 5. mkdir ~/rtems-install |
| 197 | * 6. cd ~/rtems-build |
| 198 | * 7. ./[http://www.rtems.org/pipermail/rtems-devel/attachments/20120710/2a41f37c/attachment.sh] build-atomic-rtems |
| 199 | The test cases will be install the rtems-install directory. |
| 200 | |
| 201 | '''How to run atomic test cases on qemu:''' |
| 202 | |
| 203 | * ./[http://www.rtems.org/pipermail/rtems-devel/attachments/20120710/2a41f37c/attachment-0001.sh run-atomic-rtems.sh] PATH/EXENAME.exe |
| 204 | |
| 205 | Before you run the script you must have rtems boot image under ${HOME}/qemu/pc386_fda and you must create a directory ${HOME}/qemu/hd to store your test case execute file. |
| 206 | = References = |