add file sys calls #13

Open
BrokenC1oud wants to merge 1 commits from BrokenC1oud/Core:master into master
pull from: BrokenC1oud/Core:master
First-time contributor

Hello, I'm BrokenC1oud, and I'm interested in participating in GSoC 2026.

Hello, I'm BrokenC1oud, and I'm interested in participating in GSoC 2026.
BrokenC1oud marked the pull request as work in progress 2026-03-20 05:17:50 +00:00
BrokenC1oud changed title from WIP: file sys calls to add file sys calls 2026-03-21 12:56:08 +00:00
Sweetbread left a comment
Owner
  1. You didn't provide an example
  2. You have a merge commit
1. You didn't provide an example 2. You have a merge commit
@@ -0,0 +4,4 @@
#[repr(C, packed)]
pub struct FileCommand {
pub func: u32, // 0 = read, 1 = read folder, 2 = create/write
Owner

Should be an emum

Should be an emum
@@ -0,0 +7,4 @@
pub func: u32, // 0 = read, 1 = read folder, 2 = create/write
pub param1: u32, // offset (low)
pub param2: u32, // offset (high) or flags
pub param3: u32, // bytes to read/write
Owner

Why not just name them?

Why not just name them?
Author
First-time contributor

These parameters mean different things in different commands

These parameters mean different things in different commands
Owner

Make different functions for different commands then

Make different functions for different commands then
Author
First-time contributor

I don't get it, defining different structures makes it repetitive

I don't get it, defining different structures makes it repetitive
Owner

I said functions, not structures. I definetely not allow structs with this names be in the repo

I said functions, not structures. I definetely not allow structs with this names be in the repo
Author
First-time contributor

All file operations require the same struct
quoting this for modification doesn't make sense

All file operations require the same struct quoting this for modification doesn't make sense
BrokenC1oud force-pushed master from c023ca4534 to d47ee35fa5 2026-03-23 02:13:44 +00:00 Compare
You are not authorized to merge this pull request.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u https://git.kolibrios.org/BrokenC1oud/Core master:BrokenC1oud-master
git checkout BrokenC1oud-master
Sign in to join this conversation.