mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
emulator: Fix a bug that jump tag is overwritten
The mock system_usable_ram_end() always returns the same address. However, this causes the second jump tag to overwrite the first one. Also, now that the jump data is properly placed, we can actually remove the mock implementation. BUG=chrome-os-partner:19235 TEST=Add two jump tag and check the first one is not overwritten. BRANCH=None Change-Id: If868895a7c028dd25399adb69e9708de45c84f10 Signed-off-by: Vic (Chun-Ju) Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/181745 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-internal-fetch
parent
1c545a85e2
commit
ac4a1f1d64
@@ -228,11 +228,6 @@ uint32_t system_get_scratchpad(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
uintptr_t system_usable_ram_end(void)
|
||||
{
|
||||
return (uintptr_t)(__shared_mem_buf + SHARED_MEM_SIZE);
|
||||
}
|
||||
|
||||
static void __jump_resetvec(void)
|
||||
{
|
||||
save_time(get_time());
|
||||
|
||||
Reference in New Issue
Block a user