#Modularus: A Self-Bootstrapping Kernel. And Related Projects
1 messages · Page 2 of 1
Errnos are freestanding
Anyone using PascalCase needs to be studied
yay 1001st message here
guys did some changes into main, took some code edited into the main branch from the @dull grotto merge to scratch branch
i going to sleep
good nightly builds

so this is the software equivalent of what Framework laps do
i've been procrastinating alot, i must make the default or inbuilt modules
well finally made a per module error context
which holds traceback key(for the registered module) and a mapper operation
very cool
also have some good news
just traded my ram for a fully custom keyboard
veri neat
will the builtin one better than others' impl?
no, they will be temporary, soon depending on the module it would be replaced by a better one
that's only to allocate memory for loading and linking the modules
so this project is very open to the community?
indeed, everyone can make thier modules and plug it in
so basically LFS but with kernel level
yup
for that we need a insanely stable API
i hope modularus supports legacy bios?
it should ig, doesn't limine support bios?
well we could have grub too honestly
our compile time preboot options exist...
it sure does, its just the fact that you didnt add explicit support for bios with AxeialOS
i think it is possible to use both protocol
within an image
well i didn't have a preboot in mind for the AxeialOS ofc
all you gotta do is handle mb2 in legacy mode, and switch to 64 bit
should be simple enough, maybe a compile time option
with UEFI mb2 and bios/uefi limine, you can just detect the bootloader then init correspondingly
what about dynamically?
also i have some problems related to the API standardization and API itself for modularus
ISO Hybrid?
no the kernel itself
not the iso
this is just a kernel isnt it?
for a dynamic preboot?
yeah?
that would need a way to abstract all protocols
tho i still do it partially in modularus
i.e BOOT_REQUEST
also ithink currently our API is too rigid
because of the static ops
it "assumes" a module of the certain type its gonna serve must have
any ideas how can we make it flexible? @covert heath
personally i think our API at current is too rigid and static
do you think that too?
havent read the code too much
but the question is
what made you think so?
the operations
we define a static ops table for each thing (every part of the kernel)
and wrap under a proper callable function middle layer
like i just think what a module of each type must have in common
well you can read the headers and tell
another crazy idea i had was going to an anology (EVERYTHING IS A FILE) to a whole new level
yeah
it is, not too flexible
while it is large
and thought i should port and rework the VFS in AxeialOS and port to the modularus core and MAKE each kernel abstractions in a pseudo FS 😭
expandability might become an issue
yeah because kernel defines everything, the one to use it and declare is the modules
still validating my mm to bochs
crazy idea isn't it
wait, each?
but yeah that would make it INSANELY MEGA COMPLICATED
i mean for each abstraction layer
i dont think its INSANELY MEGA
its just sysfs++
well does that make it doable?
like its just very very exposed
and actually fix the the API rigidness problem?
we can have tons of security over that
which would make it a unix-like VFS ++
so do you think this would solve the API rigidness problem?
moving the abstraction into VFS pulls unwanted dependenciesd
not a bad idea though
but add overheads,
obviously that's memory
VFS needs a kernel heap
but abstraction is in the VFS
that's circular
yeah...
unless we have a unreplacable memory manager
that somewhat violates the philosophy if youre strict
which woulld just BREAK the modularus goal
or we could cheat
yup, violates the philosophy of being 100% replacable
making Modularus' foundation kit
which is the same as builtin
but not builtin
and it simply needs the kit to simply work
also i may have an idea around that circular problem
what is it then
making a simple MEMORY manager ONLY FOR the VFS, but the main memory manager resides in VFS abstraction
isnt that breaking the goal?
the catch is that memory manager IS ALSO replacable
so we would have TWO memory manager abstractions
and to that module must be special
one with OPS
and one with the VFS abstraction
they can be called defaults
they already have the name
so do you think this thing works?
maybe
also on the plus side this would allow us to move the MODULE management system also to the VFS
so we can move 98% if the stuff to VFS (sysfs++)
the other 2% being the bootstraps defaults like the bootstrap temp MM and the bootstrap loaders and linkers which would also use the same temp bootstrap MM
wait we can also use COM
Component Object Model
So refactoring and completeing the VFS
and also stole the VFS from AxeialOS 
its too reliable
and will completely complete it into a complete VFS
4000LoC VFS to a 8000LoC one 
Also went to static inbuilt heap for the VFS ONLY, which is only 64MiB
which is way more then enough for my VFS to abstract every single module lmao
jesus
literally me after clobbering RCK and R11 when doing sysret
yeah, AxeialOS vfs wasn't complete, and was quite partial
like user, group, modes, flags and permission support were stubbed out
I have this idea
shitty logo from gimp
i'm trying it for the first time btw
😭
@wooden linden rate this shit
lmfao
I’m so sorry
first try in GIMP
💀
I wonder if a logo like this may go hard
In mathematics, the Menger sponge (also known as the Menger cube, Menger universal curve, Sierpiński cube, or Sierpiński sponge) is a fractal curve. It is a three-dimensional generalization of the two-dimensional Sierpinski carpet. It was first described by Karl Menger in 1926, in his studies of the concept of topological dimension.
It has sim...
teh reason the logo is file icon with blocks is because Modularus would use abstraction for modules as EVERYTHING IS A FILE
You could even render it inside modularus live on boot (inside userspace)
Maybe better for the bin bricks version / the distro
VFS is the backbone of this shi
also GIMP isn't that hard, i like it
i've seen videos
also followed no tutorial as its for NOOBS
lie
Dawg 😭
what you'd expect from a trying GIMP for the first time 😭
- I’m on an iPhone and the autocorrect is known to be fucking dookie shit I hate it
@gusty kestrel @gusty kestrel dont
DONT
USE FIGMA
FIGMA > GIMPY
GIMP looks like an airplane cockpit ngl
- ITS ONLINE + ITS FREE FOR THIS PURPOSE
attack on titanic
I could also design somthing in aseprite w/ pixel art or somthing
use blockbench @gusty kestrel
for smth like this
its not free.
it generates blocky 3d art, easily
it is
only heavy stuff are paid
i myself did in figma
Or blender
blender is too powered for what u need, only blocky stuff
I hate block bench because it’s good for Minecraft stuff but my friend constantly asks for help because thier flatpak image stinks and they don’t want to use the web version
Modularus = Lego kernel
Blender is certainly not “too” powerful. It’s exactly what you want especially if you want to render it nicely
i agree, but just to make a simple logo, u gotta learn a lot
i got as far as a fully detailed apples in a black bowl with knife
then quit
Blender is not that complicated. It’s a very good example of open source software done well
thats a point i agree, but
yeah, the learning curve
depends on the person
this could hv been done in ms-paint, the og one tbh
That’s with most 3d software to be honest. And for a cube you just need to use some array modifiers and Boolean modifies etc
And it will probably be faster to render due to using them
procedural generation mods or smth, help too ig
Eevee > Cycles
You don’t need to shit on the logo
It’s really not that bad
ik but i dont think gimp was needed for that
Cycles is a very good renderer and it should be used. Eeevee can not reproduce all of the proper lighting effects
I think this is getting off topic anyways lmfao
ye
Just write svg code smh
Or use Latex with random packages
then ig u can use this as inspiration
how do i clear my recent reactions, theyre shit
Try using reactions that aren't shit
Take a look at my Logo
(I'm bad at drawing or designing stuff)
"Tobacco leads to cancer, heart attacks, lung disorders, and other deadly diseases"
"Mutual funds is subject to market risk. Read all terms and conditions carefully before investing"
This is what lowkey hits me when im high in ADHD
damn this needs rating 8/10
modular and simplicity
Ikr?
the choice of material art and a perfect color palette is astonishing
the simple and creatively constructed text glyphs say it all
GIMP is nice, blender is too much for my potato HP book to handle
dayum
what about my logo?
This
that is quite similar to my REGS_RETURN_VAL
this for some reason reminds me of code blocks
the font could be different
lol was reworking on the VFS
i thought so
maybe i should make my own logo
AeroSync
yeah
i see
Linux is tux
Mascot?
but BSD, UNIX, MACH, and XNU is itself a logo
BSD has a demon
which is a Mascot
UNIX is a logo
i think thats freebsd
it is
the current github page logo is its current logo
mascot is a way to create an identity of something with character, animal or fictional being
ngl thats not bad AT ALL
its clean
definitely not taken from pinterest
i think so
lmao
well still thinking about Modularus logo
just change the font ig
also the next push will be a complete re write
to VFS
and removing the rigid abstraction headers
i have no motivation to write aerosync rn
lol why?
*not in a giving up way
just that lunar new year is comming (just 1 more day of school)
and i simply dont want to do anything lmfao
and just eat, sleep, cycle
also waiting for my stuff to arrive
kinda
after coming back home, directly i have last year of my school
execve is not execve-ing
the ultimate final exams
same for AxeialOS
after the holiday i have a 2nd mid-semester exam
all the best for that, well last year of school feels like i'm gonna escape this shit for once and for all
the school eats lot of my time in the day
barely can do something that i actually like
so relatable here
i love to sit on my corner desk, make something out of scrap, do something new or most of the time code, read docs and other peoples code
Sounds like my college
I spend most of my time researching, and scrolling reddit
I should be studying for my mid-sem but I'm building my website instead 💀
same dude, i have my final semester of school and i'm reworking my VFS for Modularus
here doing kernel work in the same situation
7 days ? 6 stars? noice
finally reworked the VFS
Pushed the changes! https://github.com/VOXIDEVOSTRO/Modularus
Also lets talk about abstraction
because here we are taking EVERYTHING IS A FILE to an extreme level
SO i have two abstraction strategy
one is having a single psuedo fs like sysfs but insane (sysfs++)
and is per part fs
like schdfs
threadfs
processfs
loaderfs
idtfs
gdtfs
etc etc
i think i should make a poll
@covert heath i'm going with the sysfs approach btw lmao
everything IS A FILE
Also pushed the code you can review
how much
EVERYTHING
even more than plan9? (plan9 is more everything is a file than unix)
sure
yeah the entire kernel is just that like scheduler runs from file too
idt/gdt/tss/ist will be also set from files
system calls will also be set, registered and called from files
fucking everything from file
also we need a way for kernel logging
without AGAIN breaking modularity
and also one thing is i'm using a statically allocated HEAP
bump allocator
for VFS nodes and stuff
jesus
64MB
nodes dont need alot of memory iirc
few bytes
first we need a sysfs layer as usual also i think it would be mounted as a "/"
because before a initramfs we need basic stuff
so sysfs would be the mount and the main disk filesystem root will be mounted elsewhere like /mnt/drive1
/mnt/drive2
etc
tho it would be still handled by the modules anyway
Back to VFS and making the core of the abstraction. now my question really is. FUCKING HOW
how can i know everything is working?
because i need the sysfs++ to be present first
but to log anything in the first place i need a bootstrap loader AND linker
bro is using sysfs++
that's what i'm gonna name it
the ++ is just there to denote my intentions about a more deeply integrated pseudo fs
its copyrighted?
10 minutes
source: ||trust me bro||
no i mean not the copy right stuff
what
just the name itself
bruh
mine dont even get pass 5
so sad
@gusty kestrel how do you parse the dmline?
can i use yours? mine is unstable
what?
also sure if you are fine with porting mess
cmdline*
oh i see, sure you can use from the AxeialOS kernel
yes it works
for processes right? like /proc and stuff?
i don't have a shell yet?
or a terminal in axeialOS
OH YOU MEAN CONSOLE
Thats what my EarlyBootConsole is
dude its this
cmdline, NOT console
Linux cmdline
wait
aka boot args
BE MORE explicit on what you mean lmfao
whar?
we all call it cmdline
the kernel cmdline
there is no 'shell' in linux
AxeialOS doesn't use a command line
ITS NOT COMMAND LINE
its just cmdline
and that derives from Linux ()
or whatever UNIX
okay cmdline
ok so where is it?
AxeialOS doen't use one
whythe fuck do i need extra arg 😭
YEAH
AXEKCONF
for now AxeialOS uses Compile time options
nokaslr initrd= nomigrations sysctl
bruh i literally just realized some of my pills for my cold needs to be taken 30 mins before meal
and i have taken it after meal since day one ☠️
bruh what 
i probably not gonna die any time soon tho
obviously
goddamn it linux 275 loc cmdline parser is more functional than my 500 loc flopware
thinking about sysfs++
lmfao, should i use cmdline parser for Modularus too?
liek for debugging, tooling and etc
its not should or shouldnt
its standard
would make it dynamic
yea maybe
because any way loggers would be external modules or temporary builtins
my Modularus is gonna be modular and dynamic SO i guess its worth it
well what about sysfs++
its standard though
ngl its just any other pseudofs
so its a rebranded of the same thing
unless you made it special
well it must have some extra stuff to handle all the dynamic and nested interfaces of the modules
like must be interactive
like devfs
you can write and read to it
to change states, configure, run, call and query
LESSSS GOO
finally we surpassed AxeialOS
so gonna go and make the sysfs++
would the ops: read, write, open, close and ioctl be fine? for sysfs++?
i do think so, well its just like any other ordinary devfs but without block and char devices
Also wondering should sysfs++ be a seperate module?
external or builtin but disposable?
Tho we need a memory manager for the linker
well as external or builtin as usual
this is complicated
yea we should make builtins for memory manager, and linker ONLY, sysfs++ logic would be embeded as core
because sysfs++ would be mounted as "/"
as we wont have a early boot image (initrd) which also depends on the vendor who is gonna make the kernel distro
made a dirty heap static abstraction https://github.com/VOXIDEVOSTRO/Modularus
partially made the sysfs++ header
dirty heap is just basic temporary heap layer
and made the first builtin
which is just a statically alllocated 64MB pool with a bump allocator
GAWD, core is getting big asf really fast
PascalCase my beloved
Super cursed
lmfao
might do this myself
Nice
dayum, registering the sysfs++ or mounting it causing a fault
but i dont have any IDT and GDT builtins
well why there would be builtins
we just triplefault as its cant be handled
less gooo 10 stars 
but to make the gdt, idt and the linker i need sysfs++
also the fact i dont have any logging 
the screen is just as blank as my Untitled1 file in vscode 
i may have to manually troubleshoot by commenting stuff to know where exactly it faults
like the main creation? or the mounting or an entry creation
tf
fr
bruh
kernel loggers would also be a seperate module 😭
what would you expect from this project
also its insane that its SO possible
i mean exokernel are a thing
Thats a different concept
ik
it mean pushing everything to userspace
but it shares the fact that the kernel is nothing
so it doesnt need the compatibility to fit with users impl?
this kernel is dynamically monolithic sortof
yea maybe
what even is that
what?
not a real kernel architecture btw
simply:
Modularus is:
Monolithic: No
Microkernel: No
ExoKernel: No
it doesnt fit in any
its a bit of everything
you got the lightness of exokernel, plugins of microkernel, and rigid of monolithic (supposedly)
speed of a monolithic
*i mean modules
all modules would be "linked" to kernel dynamically
thats what a module loader supposed to do
*Linker
also modularus is weird as i said
its a weird yet a possible idea
to implement and research
again are you planing to do just a PoC or more than a PoC
more then a PoC ofc
its gonna be a complete kernel
kernel distro?
a full OS to ofc
very nice
and both, complete kernel and in future a OS distro
Same after it compeletes
vastly depends on the dev
i have the sanity, time and energy to do that
probably...
then its more likely
sysfs++ IS WORKING LESS GOO! fixed the fault 
FIRST THINGS FIRST I'M GONNA MAKE another inbuilt and also loader BUT BEFORE THAT i would make a builtin FOR some basic printing FIRST
because GOD lack of logs are annoying
i will only do UART for now
pushed the sysfs++ changes! https://github.com/VOXIDEVOSTRO/Modularus
lets get to working
i must fix the sysfs++
cuz... it doesn't work? for some reason it is giving me ENOSYS
meaning no operations
in the VfsOpen
whar?
ENOSYS is no impl ready
i have temporarily used it as no operation error
because i'm still considering to make my own set* of errnos
set*
really?, i did think of that
and thought of using a complete set of UNIX Errnos
all you need is return codes
so copy userspace errno.h and defer the deadly errno local var
anyways, added clang CFI to my kernel
nice
just another layer of reinforcement
Yea, also you have the complete set of UNIX errnos?
i can use
wait you PR has it
yeah
not sure if its complete
i think linux version is in asm-generic
even linux ones would also be fine
its this
the base
btw just out of curiosity @gusty kestrel
can you test my kernel? (if you have time)
Absolutely
how can i run it?
i prefer using this since its lighter
thanks for the iso
and skips ISO hassle entirely
(for some reason, i have trust issues with isos)
you can choose the verbose or non verbose
NOICE it worked
qemu?
yea
ig thanks
its cool
real hw would be better since i wouldnt want to waste your time'
btw bios from 2014
i dont have a flash drive or any external drive lying around to boot here
on my laptop
well its cool asf
fixing the sysfs++ problems
what problem?
because for some reason all vfs operation return no operations error even tho the sysfs++ is mounted and registered
without any errors
lmao
VFS would only return such errors when the following filesystem doesn't have itself registered
also because i dont have any logging, thanks to errnos and can easily trace errors
no logging and seeing errors conflicts
using a remote debugger?
no, adding conditionals during the sequence (if(Probe4Error(anything))) or != GeneralOK and making it intentionally cause an exception like if -ENOSYS do a ud2, if a EINVAL do a division fault, if a ENOMEM do a pagefault
bruh
then i can check the qemu logs what exception caused it
lmfao, thats HOW OGs debug
1990 ogs
indeed, tho its quite effective
serial?
yes
Also fixed sysfs!
sysfs++ stuff
and finally the stuff
😭 why
idk what to do
ig read modularus code as its interesting \j
i was about to say PascalCase is-
did alot of stuff
I can't break that habit 😭
incredibly readable, easy to understand and practical
Yes, ig for some people its an eyesore because they are used to seeing camelCase or snake_case
in another world
in another world your nick is Assembler
+1 fell for ragebait
LMFAO
anyways
make a fucking idt 
that would be a external module
No?
not wrong person then lmao
this kernel is only pure VFS and a pseudo fs mounted as ROOT
with few builtins
heap and a UART
Thats all it is 😭
i give you my speedrunning osdev energy
Sure as I've been lacking a consistent focus, Its fragmented
imma make builtins for the linker and loader too
yeah
loader would just use boot request
moreover do you expect other to build modules for everything
or you will add a set of default modules?
Yes
like the default kernel will come with
I may have simple modules atleast for testing
nothing?
exactly
only few builtins
like which is the static pool, heap, loader and linker
thats basically it
damn
then later on you can create externals for them and use them instead of the builtins
crazy project right?
completely different from aerosync
obviously
with aerosync im aiming full modularity for drivers
only
but not with the internals
Modularus aims FOR EVERYTHING
that's the goal, and i can see its working very well
modularity at its peak
based
ig make builtins for loader and linker today???
@covert heath you think i should change modularus license? saw the conversation from #1471870285207568588
what are you planning?
current is MIT right?
Yes
added the loader btw
also star the repo dyum 🥀 , only 3 stars is broke asf
and a 10 star thread lmfao
i have 5 ...
Cool
used it for like 3 months and its stack overflowing
VSCODE is unstable asf
crashed 2 times
vscode crashes too
i was scared about ram usage but not too bad-ish
thats also why i sold the ram
though the on-disk usage is insane
afaik
16G
*after you install alot of extension and doesnt clean cache
imagine if vscode happens todo a memory leak when we are on 80 % usage of ram
swap would be working overtime
mine barely touches swap
max 100M
even though i gave it 16g for some reason
clion was such nice DE
*IDE
try lazy VIM
ik
very lightweight
you need to be TUI expert to run that shit 😭
which i oddly have
the point is i dont member everything
and it needs too much configuring (to get single-click experience)
that an ide offers
ig im just a really lazy person
also i got the habbit of vscode from my school btw
i make 500% profit
for a better and THOCKY keyboard ofc
and also creamy
Good enough
idk
both laptop and my PC
i personally somewhat enjoy them
The only guy who thanked Clankers for RAM-a-acopalyse
lot of people say they are "less durable"
maybe they fly off?
the keycaps
and yeah, if you are not careful
they are ofc somewhat fragile
i dont think so, my laptop is 6 years old, and still has everything intact
typing habits also
my PC's keyboard which is scissor is also been around for 3 years
i type crazy fast
same, around ~60 to ~80 avg
also thats when it pure words
yeah
no numbers and no punctuation
indeed
and our like is programming
and guess that
they no include !@#$%^&*()_+-=<>,.?/:;"'{[]}|\
~`
i have a horrible habbit of typing semi colon
like once i did that in pyython
like alot
RELATABLE
and kept wondering why was the interpreter screaming lmao
peak python moment
lmafao
i'd agree
tho i don't like indent oriented langs
its unatural
to not be able to type how you like
and your style gets defined by the interpreter
i'm very used to braces
very
so literally ```c
if ()
foo();
tho still if i was made to choose ANY other programming lang except C, it would be python ngl
also just discovered sth interesting
kthread_create() is extremely quick
but kthread_run() takes 5s for 512 task
Aerosync?
yeah
which is a nightmare
what does the run do?
enqueue?
void __no_cfi wake_up_new_task(struct task_struct *p) {
struct rq *rq;
int cpu = p->cpu;
if (p->sched_class->select_task_rq) {
cpu = p->sched_class->select_task_rq(p, cpu, WF_FORK);
}
set_task_cpu(p, cpu);
rq = per_cpu_ptr(runqueues, cpu);
irq_flags_t flags = spinlock_lock_irqsave(&rq->lock);
p->state = TASK_RUNNING;
activate_task(rq, p, ENQUEUE_WAKEUP);
if (p->sched_class->check_preempt_curr) {
p->sched_class->check_preempt_curr(rq, p, WF_FORK);
}
spinlock_unlock_irqrestore(&rq->lock, flags);
}
so yeah
its likely the scheduler fault
WHY SPINLOCK? 💀
its not a global lock
Still...
i suggest commenting those lock and unlock statments and re test
also use atomics here NOT spinlocks
because you are only changing few states
Depends on activate_task() implementation
sched/fair.c modify the entire rbtree
locklessly (mostly)
you are still wraping it under the lock
by the run function
also did you try without locking?
its basically the same
ok my kernel is kinda cooked
and i dont know for sure which commit
so i may have to defer and roll back the release
the vtd module is crashing
on android qemu things are worse
porting the AxeialOS print formatter and loggers 
IT SPEAKS, IT FUCKING SPEAKS 
Also 11 stars noice
Modularus: A Self-Bootstrapping Kernel.
Thats better
12 stars is insane
indeed
Putting the final piece of the Modularus core, THE BUILTIN LINKER
which means NEXT we would have a our core completed !
that is insane
indeed
nows 13 :3
surpassed Aurora OS :3
modularus having more stars than axeial is insan
AxeialOS has 8
yea
modularus has more than axeial
insan
Uniqueness of the project ig
does modularus have a discord server
No? the axe_in_the_leg
is the only one
i've made a poll there
oh right
insane, i've been building Modularus for almost the entire span of my vacation 😭
i have made like 10 LoC worth of changes to my kernel in this year 😂✌️
axeial ded
Lol
That's some serious dedication \s
also i think Modularus is a KLS (Kernel from scratch). do you think so
but i don't think so that's the case because KLS doesn't describe what it does, like you are making your first kernel and what you doing and making is technically a KLS
What defines a kernel-from-scratch?
making it from scratch, obviously
coding yourself
Well then every non-ai kernel is a KLS.
exactly.
So what was your question then?
I thought naming Modularus->KLS would be a great idea until i realized that means completely different thing and not relevant to the purpose of the project
thanks
idk, i guess the activity? and the project itself?
Carl Sagan says that if you wish to make an apple pie from scratch, you must first invent the universe. Tough.
because this post is active
yeah, fair enough, the project is nice tho
ts can't be more real
thank you
yooo
insane
ALSO THE CORE IS MINIMAL ASF
only a VFS, Sysfs++ as root, builtins for loader (uses bootloader request), linker and a static pool!
do you plan on an i686 port?
THATS IT
maybe? tho that would need some arch porting
as currently i'm working with x86_64 at default
im working on a MB2 pre kernel thing that will give a much nice interface and map the kernel in the higher half and stuff
- public domain & i wana make sure it works for others things too
yes
i've used it, and ITS PAINFUL
it dosnt do alot. so im making a thing for it to be less painful 
very cool
btw PUSHEDTHE CHANGES: https://github.com/VOXIDEVOSTRO/Modularus
oh my god my excitement is crazy
it's just your code editor freezing it's february 
Spiced up the kernel config header btw
https://github.com/VOXIDEVOSTRO/Modularus
very nice
also more options on BuiltIns
Added more options to the run script
https://github.com/VOXIDEVOSTRO/Modularus
finally the linker node
ALSO fixed the loader
Builtin one
because i forgot to make accept name of the module and actully load the module we want
THIS IS SO FIRE
and this everything would happen from a VFS is crazy
a linux errnos 
great idea btw
use it too
i hope this is the last time i see this message

nice
lolol
nah, the core is gonna be constantly be updated, optimized and few tiny changes
will be made
ok
i thought you gonna abandon this one
lmao
hell nah, Also AxeialOS is also not ded, will be rewritten but with the modularus kernel
cool
also the fact this is a 16 day old kernel 😭
it's insane
well obviously because the CORE is under ~8KLoC
and barealy has features on its own
Well you copied quite a bit
nah
[voxidevostro@VOXAUX HotSwap]$ tokei .
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Language Files Lines Code Comments Blanks
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
C 53 5751 4698 113 940
C Header 29 3358 2540 304 514
LD Script 1 62 49 0 13
Makefile 5 435 346 19 70
Markdown 1 4 0 3 1
Shell 1 143 114 10 19
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Total 90 9753 7747 449 1557
not as much as mine
yes the entire VFS from the AxeialOS
Not gonna talk about AuroraOS.
dont even mention it
how much do you have
Damn you got more than me
and 25k is uacpi
I only got like 30k
and the fact VFS is like ~5KLoC HERE 😭
Dont include dependencies.
and A LOT FROM LINUX
same for AxeialOS
The line estimate should be your code.
yeah i should strip it a bit
with or without dependencies.
Only the Kernel ./Kernel
shouldnt be a lot
Pure C code
just a kernel tho
how much do u reccon-
same
huh?
what
mine dont even have working userspace
how many lines without deps
ohh
wait me a min
well what do you really need tbh
vfs
memory
some basic io shit
some sort of basic ahh round robin scheduler
Same, for AxeialOS i focused on kernel completion
nice
how is Modularus going btw
Modularus only has a VFS, a interactive Pseudo filesystem as root and few builtins THATS IT
~/AeroSync $ cloc arch/ include/ drivers/ init mm fs crypto
294 text files.
280 unique files.
14 files ignored.
github.com/AlDanial/cloc v 2.06 T=0.16 s (1785.0 files/s, 354403.3 lines/s)
Language files blank comment code
C 99 4631 3825 21900
C/C++ Header 165 3267 8511 12274
Assembly 5 73 60 809
Linker Script 1 23 31 129
CMake 9 15 1 41
Markdown 1 0 0 2
SUM: 280 8009 12428 35155
this for no deps
whats the VFS used for and the filesystem?
The core is complete, Considering if i should make a distro
code block, thank you.
couldnt you go for simpler IPC
full github.com/AlDanial/cloc v 2.06 T=0.37 s (1294.0 files/s, 345026.1 lines/s)
Language files blank comment code
C 193 13340 10343 60928
C/C++ Header 217 4430 10370 18101
YAML 3 69 9 3812
Markdown 21 451 0 1782
CMake 35 208 206 995
Assembly 6 100 91 896
C++ 1 157 63 729
Text 2 147 0 616
Linker Script 1 23 31 129
JSON 1 0 0 104
Python 1 26 6 88
SUM: 481 18951 21119 88180
im on a phone
you should
you can still do it
and it takes like 10 minutes to find it
you can still do it on mobile
ik
full github.com/AlDanial/cloc v 2.06 T=0.37 s (1294.0 files/s, 345026.1 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C 193 13340 10343 60928
C/C++ Header 217 4430 10370 18101
YAML 3 69 9 3812
Markdown 21 451 0 1782
CMake 35 208 206 995
Assembly 6 100 91 896
C++ 1 157 63 729
Text 2 147 0 616
Linker Script 1 23 31 129
JSON 1 0 0 104
Python 1 26 6 88
-------------------------------------------------------------------------------
SUM: 481 18951 21119 88180
-------------------------------------------------------------------------------
android with a custom keyboard
huh ok ig
on screen kbd
Ig, i think 100% yes, i must make one
so its a bit harder
the fuck is 13340 blank lines for
~/AeroSync $ cloc arch/ include/ drivers/ init mm fs crypto
294 text files.
280 unique files.
14 files ignored.
github.com/AlDanial/cloc v 2.06 T=0.16 s (1785.0 files/s, 354403.3 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C 99 4631 3825 21900
C/C++ Header 165 3267 8511 12274
Assembly 5 73 60 809
Linker Script 1 23 31 129
CMake 9 15 1 41
Markdown 1 0 0 2
-------------------------------------------------------------------------------
SUM: 280 8009 12428 35155
-------------------------------------------------------------------------------
new thread for it?
gboard doesnt work for some reaosn
25K LoC?
not mine
Ik, just confirming if its really 25KLoc
this is mine
without any userspace stuff
with userspace stuff its 30k loc
21 LoC is decent
not bad
well yea, my kernel is still pretty feature incomplete
it has everything important though.
here is the AxeialOS kernel only
[voxidevostro@VOXAUX AxeialOS]$ cloc ./Kernel
145 text files.
144 unique files.
79 files ignored.
github.com/AlDanial/cloc v 2.08 T=0.73 s (197.0 files/s, 48520.0 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C 77 2894 385 26745
C/C++ Header 62 824 527 3953
make 1 23 3 75
Linker Script 1 7 1 34
Markdown 3 0 0 4
-------------------------------------------------------------------------------
SUM: 144 3748 916 30811
-------------------------------------------------------------------------------
I could prob bump syscall count up to like 45-50 if i added syscalls for everything my kernel can do
exactly 30KLoC
are you planning linux binary compat?
or anything similar
i dont have anything planned
i just go with the flow
i see

