save registers: fix small problems
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Wed, 4 Nov 2009 04:26:18 +0000 (23:26 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Wed, 4 Nov 2009 04:26:18 +0000 (23:26 -0500)
commita5850bc4ccd4fab794c76a368648e21236d7db01
tree8baae285064290df010c0fbfca3b61c7bc216317
parentca9e45021f2b26e00a1663c5feda0f15a0240346
save registers: fix small problems

- Don't put C code at the beginning of save save_registers macro, as
  it will change the registers in unpredictable ways. Therefore, test
  whether ust_reg_stack_ptr has been initialized in assembly code.
- Save rflags at the begginning of the stub because using the test
  instruction may change its content.
include/ust/processor.h
This page took 0.023037 seconds and 4 git commands to generate.