diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index c4a1661a..00000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,14 +0,0 @@ -# This file contains all Codeowners. The owners of the specified -# files will be automatically requested for review when a PR is opened. - -* @marv7000 -.github/* @ByteOtter - -# Kernel subsystems -kernel/drv/pci/ @marv7000 -kernel/drv/spi/ @mtravitzky -kernel/drv/usb/ @marv7000 -kernel/drv/misc/ @marv7000 - -# File systems -kernel/fs/initfs/ @marv7000 diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml deleted file mode 100644 index 02a7455c..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ /dev/null @@ -1,71 +0,0 @@ ---- -name: Bug report -description: Report a bug -title: "[Bug]" -labels: ["bug", "pending"] -body: - - type: markdown - attributes: - value: > - **NOTE**: This form is only for reporting _reproducible bus_ in Menix. - If you have any trouble with building or are looking for assistance, - please post your question in our [discussion section](https://github.com/menix-os/kernel/discussions). - - type: dropdown - attributes: - label: Architecture - description: > - Which CPU architecture does this bug affect? - multiple: true - options: - - x86_64 - - aarch64/arm64 - - riscv64 - - N/A - validations: - required: true - - type: input - attributes: - label: Menix Version - description: What version of Menix did you use? - placeholder: master - - type: dropdown - attributes: - label: Affected Area - description: > - What sub system of Menix does this issue affect? - multiple: true - options: - - Boot - - Drivers - - File System - - Main - - Build System - - Other - validations: - required: true - - type: textarea - attributes: - label: Bug Description - description: > - Please describe in detail what issue you encountered. - validations: - required: true - - type: textarea - attributes: - label: Expected Behavior - description: > - Please describe how you expected the system to behave. - validations: - required: true - - type: textarea - attributes: - label: Steps to Reproduce - description: > - Describe in detail the exact steps we can take to reproduce this bug. - Please also provide details to you exact environment. Hardware specifications, - virtualization hosts as well as any error logs you might have. - placeholder: | - 1. Build image using this command ... - 2. Boot system ... - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml deleted file mode 100644 index 3ba13e0c..00000000 --- a/.github/ISSUE_TEMPLATE/config.yml +++ /dev/null @@ -1 +0,0 @@ -blank_issues_enabled: false diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml deleted file mode 100644 index e1650dca..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ /dev/null @@ -1,69 +0,0 @@ ---- -name: Feature Request -description: Suggest a new feature to Menix -title: "[Feature]" -labels: ["enhancement"] -body: - - type: markdown - attributes: - value: > - **NOTE**: Please only use this form for submitting _well-formed_ proposals - to extend or enhance Menix in some form. If you are trying to solve a problem, - or need help bringing your idea into a actionable form, please use our [discussion section](https://github.com/menix-os/kernel/discussions/). - - type: input - attributes: - label: Menix Version - description: What version of Menix are you working with? - placeholder: master - validations: - required: true - - type: dropdown - attributes: - label: Feature type - options: - - New CPU architecture support - - Expanding driver support - - File System support - - Change existing functionality - - Change to the build system - - Other - validations: - required: true - - type: dropdown - attributes: - label: Architecture - description: > - What architecture will this proposal affect. - (If no specific are affected, select 'N/A'.) - multiple: true - options: - - x86_64 - - aarch64/arm64 - - riscv64 - - N/A - - New Architecture - - type: dropdown - attributes: - label: Affected Area - description: > - What sub system of Menix does you proposal affect? - multiple: true - options: - - Boot - - Drivers - - File System - - Main - - Build System - - Other - validations: - required: true - - type: textarea - attributes: - label: Proposal - description: > - Describe your proposal in detail. Include any specific requirements - for your plan to work as well as the supposed benefit your feature will bring. - Also include a step by step actionplan you have drawn up to achieve this goal. - Feature request with unclear or missing action plans cannot be acted upon. - validations: - required: true diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md deleted file mode 100644 index 058b1450..00000000 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -name: PR template -about: Submit changes to menix -title: '' -labels: ["pending"] -assignees: '' ---- - -- [ ] New feature -- [ ] Feature iteration -- [ ] Bug Fix -- [ ] Security changes -- [ ] Tests -- [ ] Documentation -- [ ] General Maintenance - -## What does this PR change? - - - -## Links - - diff --git a/.vscode/launch.json b/.vscode/launch.json index 411ad59e..2f61bfab 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,19 +4,7 @@ { "type": "lldb", "request": "custom", - "name": "Debug x86_64", - "targetCreateCommands": [ - "settings set target.source-map ${workspaceFolder}/../bootstrap/build/source/kernel ${workspaceFolder}", - "target create ${workspaceFolder}/../bootstrap/build/build/kernel/bin/menix" - ], - "processCreateCommands": [ - "gdb-remote localhost:1234" - ] - }, - { - "type": "lldb", - "request": "custom", - "name": "Debug riscv64", + "name": "Debug", "targetCreateCommands": [ "settings set target.source-map ${workspaceFolder}/../bootstrap/build/source/kernel ${workspaceFolder}", "target create ${workspaceFolder}/../bootstrap/build/build/kernel/bin/menix" diff --git a/kernel/arch/riscv64/CMakeLists.txt b/kernel/arch/riscv64/CMakeLists.txt index 5a810785..d40efbfd 100644 --- a/kernel/arch/riscv64/CMakeLists.txt +++ b/kernel/arch/riscv64/CMakeLists.txt @@ -3,7 +3,7 @@ include(${MENIX_UTIL_PATH}) add_architecture(riscv64 system/arch.c - system/arch.asm + system/arch.s sch/core.c sch/thread.c memory/vm.c diff --git a/kernel/arch/riscv64/system/arch.asm b/kernel/arch/riscv64/system/arch.s similarity index 100% rename from kernel/arch/riscv64/system/arch.asm rename to kernel/arch/riscv64/system/arch.s diff --git a/kernel/arch/x86_64/CMakeLists.txt b/kernel/arch/x86_64/CMakeLists.txt index db94909e..216e637a 100644 --- a/kernel/arch/x86_64/CMakeLists.txt +++ b/kernel/arch/x86_64/CMakeLists.txt @@ -6,7 +6,7 @@ add_architecture(x86_64 system/idt.c system/tss.c system/serial.c - system/arch.asm + system/arch.s system/archctl.c system/arch.c system/apic.c diff --git a/kernel/arch/x86_64/system/arch.asm b/kernel/arch/x86_64/system/arch.s similarity index 100% rename from kernel/arch/x86_64/system/arch.asm rename to kernel/arch/x86_64/system/arch.s