]> git.corax.cc Git - corax/commitdiff
Make symbol _int_restore global so that it can be used for task switching
authorMatthias Kruk <m@m10k.eu>
Fri, 6 Sep 2019 17:50:45 +0000 (02:50 +0900)
committerMatthias Kruk <m@m10k.eu>
Fri, 6 Sep 2019 17:50:45 +0000 (02:50 +0900)
kernel/arch/entry.S

index fe7aade0379e31686b15ddea34eed616f1476dae..77705f1cf18d04f401bae79e80f880069a9ac662 100644 (file)
@@ -76,6 +76,7 @@
 .global _sys_entryCC
 
 .global _int_entry_common
+.global _int_restore
 
 .extern _exc_handle
 .extern _int_handle
@@ -344,7 +345,7 @@ _int_entry_common:
     1:
     call    _int_handle
 
-    _int_restore:
+_int_restore:
     popl    %eax
     movw    %ax, %ds
     movw    %ax, %es