MCPcopy Index your code
hub / github.com/gopher-os/gopher-os

github.com/gopher-os/gopher-os @main

repository ↗ · DeepWiki ↗ · Ask this repo → · + Follow
572 symbols 2,018 edges 80 files 340 documented · 59% updated 5y ago★ 2,6187 open issues
README

gopher-os License: MIT

Tests / Coverage Go 1.7.x Go 1.8.x Go 1.9.x Go 1.10.x Go 1.x
Build Status Coverage Go Report Card go 1.7.x go 1.8.x Go 1.9.x go 1.10.x go 1.x

The goal of this project is to build a 64-bit POSIX-compliant tick-less kernel with a Linux-compatible syscall implementation using Go.

This project is not about building yet another OS but rather exists to serve as proof that Go is indeed a suitable tool for writing low level code that runs at ring-0.

Note: This project is still in the early stages of development and is not yet in a usable state. In fact, if you build the ISO and boot it, the kernel will eventually panic with a Kmain returned error.

To find out more about the current project status and feature roadmap take a look at the status page.

Building and running gopher-os

TLDR version: make run-qemu or make run-vbox.

A detailed guide about building, running and debugging gopher-os on Linux/OSX as well as the list of supported boot command line options are available here.

How does it look?

80x25 (stadard 8x16 font): 80x25 with standard 8x16 font

1024x768 (10x18 font): 1024x768x32 with 10x18 font

2560x1600 (14x28 font): retina mode (2560x1600) with 14x28 font

Contributing

gopher-os is Open Source. Feel free to contribute! To get started take a look at the contributing guide.

Licence

gopher-os is distributed under the MIT license.

Extension points exported contracts — how you extend this code

Driver (Interface)
Driver is an interface implemented by all drivers. [4 implementers]
src/gopheros/device/driver.go
Resolver (Interface)
Resolver is an interface implemented by objects that can lookup an ACPI table by its name. LookupTable attempts to loca [1 …
src/gopheros/device/acpi/table/tables.go
FontSetter (Interface)
FontSetter is an interface implemented by console devices that support loadable bitmap fonts. SetFont selects a bitmap [1 …
src/gopheros/device/video/console/device.go
LogoSetter (Interface)
LogoSetter is an interface implemented by console devices that support drawing of logo images. SetLogo selects the logo [1 …
src/gopheros/device/video/console/device.go
MemRegionVisitor (FuncType)
MemRegionVisitor defies a visitor function that gets invoked by VisitMemRegions for each memory region provided by the b
src/gopheros/multiboot/multiboot.go

Core symbols most depended-on inside this repo

Frame
called by 101
src/gopheros/kernel/mm/vmm/pdt.go
append
called by 97
src/gopheros/device/acpi/aml/obj_tree.go
ObjectAt
called by 87
src/gopheros/device/acpi/aml/obj_tree.go
newObject
called by 79
src/gopheros/device/acpi/aml/obj_tree.go
Offset
called by 36
src/gopheros/device/acpi/aml/stream_reader.go
Address
called by 33
src/gopheros/kernel/mm/page.go
makeArg0
called by 32
src/gopheros/device/acpi/aml/parser_opcode_table.go
newNamedObject
called by 30
src/gopheros/device/acpi/aml/obj_tree.go

Shape

Function 308
Method 180
Struct 48
TypeAlias 25
Interface 6
FuncType 5

Languages

Go100%

Modules by API surface

src/gopheros/device/acpi/aml/parser.go36 symbols
src/gopheros/device/video/console/vesa_fb.go29 symbols
src/gopheros/device/acpi/aml/parser_test.go28 symbols
src/gopheros/multiboot/multiboot.go22 symbols
src/gopheros/device/acpi/aml/parser_opcode_table.go21 symbols
src/gopheros/device/acpi/aml/obj_tree.go21 symbols
src/gopheros/device/video/console/vesa_fb_test.go19 symbols
src/gopheros/kernel/mm/vmm/pdt.go18 symbols
src/gopheros/device/tty/vt.go18 symbols
src/gopheros/device/acpi/table/tables.go17 symbols
src/gopheros/device/tty/vt_test.go16 symbols
src/gopheros/kernel/cpu/cpu_amd64.go15 symbols

For agents

$ claude mcp add gopher-os \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact