Achilleas Anagnostopoulos
37e32d9960
Provide correct implementation for cpu.FlushTLBEntry
...
The previous version worked under qemu (or qemu does not implement TLB
caching) but caused an unrecoverable page fault when running under
virtualbox.
2017-07-15 17:25:04 +01:00
Achilleas Anagnostopoulos
fdd5611220
Fix bug in the ASM code used to load the PDT to the CR2 register
...
The previous implementation in Go assembly did not translate to the
correct assembly instructions for loading CR2
2017-07-13 00:08:40 +01:00
Achilleas Anagnostopoulos
0bbaa1dbff
Use correct FP offset for fetching the values passed to cpu.PortWriteXXX
2017-07-05 17:09:19 +01:00
Achilleas Anagnostopoulos
4f3312b85d
Implement functions for reading/writing from/to IO ports
2017-07-02 19:21:09 +01:00
Achilleas Anagnostopoulos
e4879b9f8a
Support the CPUID instruction
2017-07-02 19:21:04 +01:00
Achilleas Anagnostopoulos
8dfc5d4e92
Use pwd as a workspace; move sources to src/gopheros and rewrite imports
...
By setting up pwd as a Go workspace, we can trim import paths from
something like "github.com/achilleasa/gopher-os/kernel" to just
"kernel".
These changes make forking easier and also allows us to move the code to
a different git hosting provider without having to rewrite the imports.
2017-07-01 20:37:09 +01:00