9os

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit e5862fb2701b3f726e52d8f0026cf016dbc5dbeb
parent ae129b96b91d58482e3a05da94fc8b183c4f8704
Author: Dimitris Papastamos <dimitris.papastamos@arm.com>
Date:   Thu,  6 Dec 2018 10:08:19 +0000

Fix bss->fp initialization

Change-Id: I1cb4a3ba834508549221dceede60d226e84079bb
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>

Diffstat:
Mtarget/hosted/rom.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/target/hosted/rom.c b/target/hosted/rom.c @@ -29,8 +29,10 @@ imach(void) static void ibss(void) { + static struct trapframe frame; + bss->rmctab = &romtab; - bss->fp = &(struct trapframe) {0}; + bss->fp = &frame; } int