[BUG] [PATCH v4 7/9] sandbox: Avoid using malloc() for system state

2021-05-15 Thread Heinrich Schuchardt
On 2/6/21 5:57 PM, Simon Glass wrote: This state is not accessible to the running U-Boot but at present it is allocated in the emulated SDRAM. This doesn't seem very useful. Adjust it to allocate from the OS instead. The RAM buffer is currently not freed, but should be, so add that into state_un

Re: [PATCH v4 7/9] sandbox: Avoid using malloc() for system state

2021-03-03 Thread Tom Rini
On Sat, Feb 06, 2021 at 09:57:33AM -0700, Simon Glass wrote: > This state is not accessible to the running U-Boot but at present it is > allocated in the emulated SDRAM. This doesn't seem very useful. Adjust > it to allocate from the OS instead. > > The RAM buffer is currently not freed, but shou

[PATCH v4 7/9] sandbox: Avoid using malloc() for system state

2021-02-06 Thread Simon Glass
This state is not accessible to the running U-Boot but at present it is allocated in the emulated SDRAM. This doesn't seem very useful. Adjust it to allocate from the OS instead. The RAM buffer is currently not freed, but should be, so add that into state_uninit(). Update the comment for os_free()