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)
- 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.


No differences found
This page took 0.022892 seconds and 4 git commands to generate.