1
0
mirror of https://github.com/taigrr/gopher-os synced 2025-01-18 04:43:13 -08:00
Achilleas Anagnostopoulos ad0bf0a4ca Refactor allocator and unexport it
AllocFrame now rounds up the region start address to the nearest page
multiple and rounds down the region end address to the nearest page
multiple. It also ignores memory regions with size smaller than a page.

Instead of using frame indices and converting them to a pmm.Frame, the
allocator now just keeps track of the last allocated pmm.Frame.

As the allocator is now unexported, a package-exported Init() method is
now provided whose purpose is to initialize the physical allocator
sub-system.
2017-06-18 09:15:50 +01:00
2017-06-18 09:15:50 +01:00
2017-03-23 06:50:13 +00:00
2017-05-15 06:55:14 +01:00
2017-05-15 07:30:49 +01:00
2017-03-23 06:50:13 +00:00
2017-03-26 09:51:38 +01:00
2017-05-31 15:07:02 +01:00

gopheros

Build Status codecov Go Report Card

Let's write an experimental OS in Go!

Description
A proof of concept OS kernel written in Go
Readme 773 KiB
Languages
Go 84.9%
ASL 10.2%
Assembly 4%
Makefile 0.9%