Re: [U-Boot] [PATCH 1/1] trace: conserve gd register

2019-06-28 Thread Simon Glass
On Sat, 22 Jun 2019 at 13:10, Simon Glass wrote: > > On Sun, 2 Jun 2019 at 12:05, Heinrich Schuchardt wrote: > > > > 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

Re: [U-Boot] [PATCH 1/1] trace: conserve gd register

2019-06-22 Thread Simon Glass
On Sun, 2 Jun 2019 at 12:05, Heinrich Schuchardt wrote: > > 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

[U-Boot] [PATCH 1/1] trace: conserve gd register

2019-06-02 Thread Heinrich Schuchardt
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.