Searched hist:"4 cd968ef" (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/tools/testing/selftests/powerpc/switch_endian/ |
H A D | .gitignore | 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall
This adds a test of the switch_endian() syscall we added in the previous commit.
We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort.
We then switch back to the original endian, do the same checks and finally write a success message and exit(0).
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall This adds a test of the switch_endian() syscall we added in the previous commit. We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort. We then switch back to the original endian, do the same checks and finally write a success message and exit(0). Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
H A D | common.h | 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall
This adds a test of the switch_endian() syscall we added in the previous commit.
We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort.
We then switch back to the original endian, do the same checks and finally write a success message and exit(0).
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall This adds a test of the switch_endian() syscall we added in the previous commit. We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort. We then switch back to the original endian, do the same checks and finally write a success message and exit(0). Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
H A D | check.S | 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall
This adds a test of the switch_endian() syscall we added in the previous commit.
We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort.
We then switch back to the original endian, do the same checks and finally write a success message and exit(0).
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall This adds a test of the switch_endian() syscall we added in the previous commit. We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort. We then switch back to the original endian, do the same checks and finally write a success message and exit(0). Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
H A D | switch_endian_test.S | 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall
This adds a test of the switch_endian() syscall we added in the previous commit.
We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort.
We then switch back to the original endian, do the same checks and finally write a success message and exit(0).
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall This adds a test of the switch_endian() syscall we added in the previous commit. We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort. We then switch back to the original endian, do the same checks and finally write a success message and exit(0). Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
H A D | Makefile | 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall
This adds a test of the switch_endian() syscall we added in the previous commit.
We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort.
We then switch back to the original endian, do the same checks and finally write a success message and exit(0).
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall This adds a test of the switch_endian() syscall we added in the previous commit. We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort. We then switch back to the original endian, do the same checks and finally write a success message and exit(0). Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|
/openbmc/linux/tools/testing/selftests/powerpc/ |
H A D | Makefile | 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall
This adds a test of the switch_endian() syscall we added in the previous commit.
We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort.
We then switch back to the original endian, do the same checks and finally write a success message and exit(0).
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> 4cd968ef Sat Mar 28 05:35:17 CDT 2015 Michael Ellerman <mpe@ellerman.id.au> selftests/powerpc: Add a test of the switch_endian() syscall This adds a test of the switch_endian() syscall we added in the previous commit. We test it by calling the endian switch syscall, and then executing some code in the other endian to check everything went as expected. That code checks registers we expect to be maintained are. If the endian switch failed to happen that code sequence will be illegal and cause the test to abort. We then switch back to the original endian, do the same checks and finally write a success message and exit(0). Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
|