Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
f47397e
Removed tasks and re-added kernel level shell
viktorpopp Feb 12, 2025
9ed1f3f
Re-added 14:43:38 up 25 min, 1 user, load average: 0.31, 0.14, 0.0…
viktorpopp Feb 12, 2025
8b36bae
Re-added banner
viktorpopp Feb 12, 2025
bd8b301
Allows empty command in shell
viktorpopp Feb 12, 2025
8e7737c
Fixed startup-banner
viktorpopp Feb 12, 2025
9025180
Re-added version command
viktorpopp Feb 12, 2025
ae10c69
Merge pull request #33 from infinityos-dev/feature/shell
viktorpopp Feb 12, 2025
f2fcbd7
Added ACPI/AML shutdown support and command
viktorpopp Feb 12, 2025
6f5065a
Merge pull request #34 from infinityos-dev/feature/acpi
viktorpopp Feb 12, 2025
d65c813
Changed toolchain config to the toml format
viktorpopp Feb 12, 2025
1e04322
Renamed ACPI/AML handler
viktorpopp Feb 12, 2025
9f54c5d
Merge branch 'dev' of https://github.com/infinityos-dev/core into dev
viktorpopp Feb 12, 2025
97410fa
Removed usage of `log_cpu`
viktorpopp Feb 12, 2025
5157d74
Allowed some dead ACPI code
viktorpopp Feb 12, 2025
efcbe6a
Prints hidden newline before banner to prevent CPU logging from messi…
viktorpopp Feb 12, 2025
076d300
Added CpuId support
viktorpopp Feb 12, 2025
5a09d43
Moved the rest of the init code into `init` in `lib.rs`
viktorpopp Feb 12, 2025
f1e721b
Merge pull request #36 from infinityos-dev/feature/cpuid
viktorpopp Feb 12, 2025
f270221
Added newline at each commands output's end
viktorpopp Feb 12, 2025
e078183
Added components to toolchain
viktorpopp Feb 12, 2025
a9c38be
Added serial back
viktorpopp Feb 12, 2025
6543fbc
Merge pull request #37 from infinityos-dev/feature/serial
viktorpopp Feb 12, 2025
4ae9770
Fixed backspace support
viktorpopp Feb 13, 2025
f24409d
Re-added `uptime` command
viktorpopp Feb 13, 2025
03b500f
Moved `clock.rs` into seperate module
viktorpopp Feb 13, 2025
820748e
Made initialization code cleaner
viktorpopp Feb 13, 2025
19d6e9f
Merge pull request #38 from infinityos-dev/chore/cleanup
viktorpopp Feb 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[unstable]
build-std = ["core", "compiler_builtins", "alloc"]
build-std-features = ["compiler-builtins-mem"]
panic-abort-tests = true # Or remove this from Cargo.toml: `panic = "abort"`

[build]
target = "x86_64-infinity_os.json"
rustflags = ["-C", "force-frame-pointers=yes"]

[target.'cfg(target_os = "none")']
runner = "bootimage runner"
[unstable]
build-std = ["core", "compiler_builtins", "alloc"]
build-std-features = ["compiler-builtins-mem"]
panic-abort-tests = true # Or remove this from Cargo.toml: `panic = "abort"`
[build]
target = "x86_64-infinity_os.json"
rustflags = ["-C", "force-frame-pointers=yes"]
[target.'cfg(target_os = "none")']
runner = "bootimage runner"
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @ViktorPopp @TheDouck
* @ViktorPopp @TheDouck
62 changes: 31 additions & 31 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: BUG
labels: ''
assignees: ViktorPopp

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Windows 11]
- Version [e.g. 2H23]

**Additional context**
Add any other context about the problem here.
---
name: Bug report
about: Create a report to help us improve
title: BUG
labels: ''
assignees: ViktorPopp
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. Windows 11]
- Version [e.g. 2H23]
**Additional context**
Add any other context about the problem here.
40 changes: 20 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: FEATURE
labels: enhancement
assignees: ViktorPopp

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
---
name: Feature request
about: Suggest an idea for this project
title: FEATURE
labels: enhancement
assignees: ViktorPopp
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
76 changes: 38 additions & 38 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
# Pull Request Template

Thank you for your contribution to InfinityOS! Please follow the checklist below to ensure your pull request is complete and ready for review.

## Description

Please provide a brief description of your changes, including:
- What problem you're solving or what feature you're adding
- Any important context or reasoning behind your changes

## Related Issue(s)

If applicable, please link to the related issue(s) (e.g., `Closes #123`, `Fixes #456`).

## Type of Change

Please check all the options that apply to this pull request:
- [ ] Bug fix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Documentation update
- [ ] Other (please describe):

## Checklist

Before submitting your pull request, please ensure the following:
- [ ] My code follows the [coding guidelines](#coding-guidelines) of this project.
- [ ] I have written tests for my changes, or verified that existing tests are sufficient.
- [ ] I have run the tests and they are passing.
- [ ] I have updated the documentation (if applicable).
- [ ] I have added or updated any relevant tests (if applicable).
- [ ] I have ensured that my changes do not break any existing functionality.
- [ ] My pull request is based on the latest `main` branch.

## Additional Notes

If there are any other details you would like the reviewer to know, please add them here.
# Pull Request Template
Thank you for your contribution to InfinityOS! Please follow the checklist below to ensure your pull request is complete and ready for review.
## Description
Please provide a brief description of your changes, including:
- What problem you're solving or what feature you're adding
- Any important context or reasoning behind your changes
## Related Issue(s)
If applicable, please link to the related issue(s) (e.g., `Closes #123`, `Fixes #456`).
## Type of Change
Please check all the options that apply to this pull request:
- [ ] Bug fix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Documentation update
- [ ] Other (please describe):
## Checklist
Before submitting your pull request, please ensure the following:
- [ ] My code follows the [coding guidelines](#coding-guidelines) of this project.
- [ ] I have written tests for my changes, or verified that existing tests are sufficient.
- [ ] I have run the tests and they are passing.
- [ ] I have updated the documentation (if applicable).
- [ ] I have added or updated any relevant tests (if applicable).
- [ ] I have ensured that my changes do not break any existing functionality.
- [ ] My pull request is based on the latest `main` branch.
## Additional Notes
If there are any other details you would like the reviewer to know, please add them here.
146 changes: 73 additions & 73 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,73 +1,73 @@
name: Daily Build and Release

on:
schedule:
- cron: '0 12 * * *'
workflow_dispatch:

jobs:
release:
name: Build and Release
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true

- name: Install required Rust components
run: |
rustup component add rust-src --toolchain nightly
rustup component add llvm-tools-preview --toolchain nightly

- name: Install bootimage
run: cargo install bootimage

- name: Check if there are new commits
id: check_commits
run: |
last_release=$(gh release list --limit 1 --json tagName -q '.[0].tagName' || echo "")
if [ -n "$last_release" ]; then
commits_since=$(git rev-list ${last_release}..HEAD --count)
else
commits_since=$(git rev-list HEAD --count)
fi
echo "commits_since=$commits_since" >> $GITHUB_ENV

- name: Skip if no new commits
if: ${{ env.commits_since == '0' }}
run: echo "No new commits since the last release. Skipping build and release."

- name: Build the kernel
if: ${{ env.commits_since != '0' }}
run: cargo bootimage

- name: Generate release tag
if: ${{ env.commits_since != '0' }}
id: generate_tag
run: |
today=$(date -u +%Y.%m.%d)
echo "release_tag=$today" >> $GITHUB_ENV

- name: Create GitHub Release and Upload Asset
if: ${{ env.commits_since != '0' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag=${{ env.release_tag }}
asset_path="target/x86_64-infinity_os/debug/bootimage-infinity_os.bin"
if [ -f "$asset_path" ]; then
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="Release $tag" \
--generate-notes \
"$asset_path"
else
echo "Asset file $asset_path not found. Skipping release creation."
exit 1
fi
name: Daily Build and Release
on:
schedule:
- cron: '0 12 * * *'
workflow_dispatch:
jobs:
release:
name: Build and Release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Install required Rust components
run: |
rustup component add rust-src --toolchain nightly
rustup component add llvm-tools-preview --toolchain nightly
- name: Install bootimage
run: cargo install bootimage
- name: Check if there are new commits
id: check_commits
run: |
last_release=$(gh release list --limit 1 --json tagName -q '.[0].tagName' || echo "")
if [ -n "$last_release" ]; then
commits_since=$(git rev-list ${last_release}..HEAD --count)
else
commits_since=$(git rev-list HEAD --count)
fi
echo "commits_since=$commits_since" >> $GITHUB_ENV
- name: Skip if no new commits
if: ${{ env.commits_since == '0' }}
run: echo "No new commits since the last release. Skipping build and release."
- name: Build the kernel
if: ${{ env.commits_since != '0' }}
run: cargo bootimage
- name: Generate release tag
if: ${{ env.commits_since != '0' }}
id: generate_tag
run: |
today=$(date -u +%Y.%m.%d)
echo "release_tag=$today" >> $GITHUB_ENV
- name: Create GitHub Release and Upload Asset
if: ${{ env.commits_since != '0' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag=${{ env.release_tag }}
asset_path="target/x86_64-infinity_os/debug/bootimage-infinity_os.bin"
if [ -f "$asset_path" ]; then
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="Release $tag" \
--generate-notes \
"$asset_path"
else
echo "Asset file $asset_path not found. Skipping release creation."
exit 1
fi
Loading
Loading