| Age | Commit message (Collapse) | Author |
|
FileTree system inside the UPS.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
|
|
rt_copy_memory calls were replaced with rt_copy_memory_safe. #include <NeKit/Utils.h> and #include <HALKit/AMD64/Processor.h>
|
|
fix: Fix dead code in `Bool USER_PROCESS::SpawnDylib()`
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
traversal.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
credits:
- @0xf00sec who reported the issue.
- @amlel-el-mahrouss who implemented the patch.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
These patches are regarding:
- Thread safety (exit code global has been removed.)
- Code quality, in `SpawnDylib`
- In memory allocation checks too.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
refactor: Refactor libSystem, user frameworks, and preparing for OpenMSG.
feat: Jail info client structure (libSystem)
feat: Document what the RTime is doing starting from line 504.
feat: use `int 50` instead of `syscall` for now.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
refactor: Cleanup UPS (UserProcessScheduler) implementation.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
feat: drawio: Rename OS_DESIGN to SYSTEM_DESIGN.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
also:
- Use ThreadID in AP system.
- Refactor kernel according to new IFS layer.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
refactor(hal): unify file naming and drop redundant architecture suffixes
feat(build): rename kernel and bootloader to 'ne_kernel' and 'ne_bootz'
refactor(memory): replace mm_get_phys_address with mm_get_page_addr
feat(bitmap): track bitmap allocator usage and add out-of-memory error
fix(heap): correct heap magic naming and alignment logic
chore(fs): downgrade HeFS disk size check to warning
chore(tools): clean up formatting in 'ping' and 'manual'
docs(design): update OS_DESIGN.drawio to reflect Hypr86 and new layout
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
what:
- Reworked NetworkDevice.
- Reworked RTL8139 driver.
- Don't assert fCleanup on NetworkDevice destructor.
- Add new Ref types in libSystem.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
what:
- mm_new_ptr is now mm_alloc_ptr.
- mm_delete_ptr is now mm_free_ptr.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
other:
- Add ZXD header file.
- Reworking AMD64 interrupts.
- Improved HTS's design implementation.
- Improved UPS's balancing implementation.
breaking changes:
- Rename MemoryMgr to HeapMgr.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
see code for more details.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
the codebase from previous implementations that didn't work/scale well.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
what?
- The main algorithm got improved for real time tasks, and SMP usage.
- The SMP usage was present before, I just reintroduced it after
realizing that it won't scale well from what I have right now.
- Also removed weird implementations quirks from previous sketch.
- Such as the core 0 being reserved for the boot core.
- Also moved FS init code after IDT initalization.
- To avoid weird FS format behavior.
- Wrap HPET signature in a macro.
next?
- Work on the HAL's userspace transition mechanism.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
ABRT, KILL, TRAP.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
implementation.
why?
- The previous one wasn't entierly correct on some parts.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
method.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
making the LAPIC work correctly.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
other:
- Removed DmaPool into its own Kit.
- ApplicationProcessor unit has been cleaned up.
- Rename functions of MemoryMgr.
- Use KIB instead of MIBs of stack.
- Cleanup parts of the scheduler, and hw scheduler.
- Use UD handler for INT 6.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
what?
- UserProcessScheduler and CoreProcessScheduler have been
extended for FILE_TREE and also HEAP_TREE structures.
- DDK device's API will use dk_ calls instead of sk_ calls.
- SIGTRAP and Interrupt handlers have been fixed to handle when no
process is being run, and the kernel is instead raising the
interrupt.
- Add file for HeFS formating in DiskImage.fwrk
- Replace generic handler with breakpoint handler in int 3.
why?
- These changes are bug fixes and improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
|
|
checks inside the kernel, and cli.
also:
- make use _NeMain for the mk_fwrk tool.
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
reintroduce VEPM.
why?
- The extents structure on HeFS has to be clearer.
- The allocation tracker group has to be organized according to pointer size.
- VEPM was scraped because HeFS took time, so now I can focus on it now.
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
why?
To keep track of it, avoid security issues in the future.
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
allocation tree fix.
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
Signed-off-by: Amlal <amlal@nekernel.org>
|
|
Signed-off-by: Amlal <amlal@nekernel.org>
|