commit | 7b3a691483710544c6f6c28dc91e925393421d05 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Oct 15 12:30:09 2020 +0200 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Tue Oct 27 21:13:15 2020 +0100 |
tree | e4a6ff182b76ee0526f432408f95386f0f2e819c | |
parent | 04ded00539a3f443b8a53ca503f8506c2f671303 [diff] |
trace: conserve gd register on RISC-V An UEFI application may change the value of the register that gd lives in. But some of our functions like get_ticks() access this register. So we have to set the gd register to the U-Boot value when entering a trace point and set it back to the application value when exiting the trace point. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>