1. 06 1月, 2017 2 次提交
  2. 02 6月, 2015 1 次提交
  3. 28 3月, 2015 1 次提交
    • M
      selftests/powerpc: Add a test of the switch_endian() syscall · 4cd968ef
      Michael Ellerman 提交于
      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: NMichael Ellerman <mpe@ellerman.id.au>
      4cd968ef