From 80f7980e74701bf8c96234183118c7a8044585cb Mon Sep 17 00:00:00 2001 From: Achilleas Anagnostopoulos Date: Thu, 30 Mar 2017 07:34:00 +0100 Subject: [PATCH] Move multiboot package under the hal package --- kernel/hal/hal.go | 0 kernel/{ => hal}/multiboot/multiboot.go | 0 kernel/{ => hal}/multiboot/multiboot_test.go | 0 kernel/kmain.go | 2 +- 4 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 kernel/hal/hal.go rename kernel/{ => hal}/multiboot/multiboot.go (100%) rename kernel/{ => hal}/multiboot/multiboot_test.go (100%) diff --git a/kernel/hal/hal.go b/kernel/hal/hal.go new file mode 100644 index 0000000..e69de29 diff --git a/kernel/multiboot/multiboot.go b/kernel/hal/multiboot/multiboot.go similarity index 100% rename from kernel/multiboot/multiboot.go rename to kernel/hal/multiboot/multiboot.go diff --git a/kernel/multiboot/multiboot_test.go b/kernel/hal/multiboot/multiboot_test.go similarity index 100% rename from kernel/multiboot/multiboot_test.go rename to kernel/hal/multiboot/multiboot_test.go diff --git a/kernel/kmain.go b/kernel/kmain.go index 1943eff..f0ebda4 100644 --- a/kernel/kmain.go +++ b/kernel/kmain.go @@ -3,7 +3,7 @@ package kernel import ( _ "unsafe" // required for go:linkname - "github.com/achilleasa/gopher-os/kernel/multiboot" + "github.com/achilleasa/gopher-os/kernel/hal/multiboot" ) // Kmain is the only Go symbol that is visible (exported) from the rt0 initialization