1
0
mirror of https://github.com/taigrr/gopher-os synced 2025-01-18 04:43:13 -08:00

3 Commits

Author SHA1 Message Date
Achilleas Anagnostopoulos
2b77a9270f Enable SSE support
The go compiler uses SSE instructions to optimize some of the generated code. We need to explicitly enable SSE support by manipulating the appropriate CR flags; otherwise the kernel will triple-fault
2017-04-24 08:42:15 +01:00
Achilleas Anagnostopoulos
c15f27235c Update rt0 code to check for multiboot support and call kernel.Kmain
We still keep the required main func in stub.go to prevent the compiler
from optimizing the code out. We also force the compiler not to inline
the call to kernel.Kmain so we can find the symbol in the generated .o
file.
2017-03-29 07:54:23 +01:00
Achilleas Anagnostopoulos
5b47048397 Implement rt0 assembly boot code for x86 arch 2017-03-23 06:50:41 +00:00