commit | 2394b0488fdc8a5690bfb0e75f5b61a38a2b9209 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sun Jun 02 13:05:08 2019 +0200 |
committer | Simon Glass <sjg@chromium.org> | Wed Jul 10 16:52:58 2019 -0600 |
tree | dc3068e5466c4582bbc037c3d52800fce802496d | |
parent | 2aecfc5104c0a6b9a033a57ceff9582fa5410ccc [diff] |
trace: conserve gd register 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> Reviewed-by: Simon Glass <sjg@chromium.org>