mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix most x86 warnings from Sparse
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@534 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -26,7 +26,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 __attribute__((section (".initctx"))) = {
|
||||
static struct context main_ctx __attribute__((section (".initctx"))) = {
|
||||
.gdt_base = (uint32_t) gdt,
|
||||
.gdt_limit = GDT_LIMIT,
|
||||
.cs = FLAT_CS,
|
||||
|
||||
Reference in New Issue
Block a user