mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix most warnings from Sparse
git-svn-id: svn://coreboot.org/openbios/openbios-devel@274 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -22,7 +22,7 @@ void __exit_context(void); /* assembly routine */
|
||||
* It is placed at the bottom of our stack, and loaded by assembly routine
|
||||
* to start us up.
|
||||
*/
|
||||
struct context main_ctx = {
|
||||
static struct context main_ctx = {
|
||||
.regs[REG_SP] = (uint32_t) &_estack - 96,
|
||||
.pc = (uint32_t) start_main,
|
||||
.npc = (uint32_t) start_main + 4,
|
||||
|
||||
Reference in New Issue
Block a user