Make sure to manually export s3_resume() for old buggy gcc versions.
[seabios.git] / src / resume.c
index 0e27c1c43e2985def4f6b8dbca6c138d9557cf52..9db8cad2e0b1e02a028c9b890233bf1ffd6d9d6e 100644 (file)
@@ -120,3 +120,7 @@ s3_resume()
     }
     call16big(&br);
 }
+
+// Ughh - some older gcc compilers have a bug which causes VISIBLE32
+// functions to not be exported as global variables.
+asm(".global s3_resume");