skni-kod / MicrOS

32-bit operating system with kernel written in C. Created by SKNI "KOD".
GNU General Public License v3.0
56 stars 8 forks source link

Extending syscall count to 16 bit value from 8 bit #97

Closed MinusPL closed 2 years ago

MinusPL commented 2 years ago

Currently MicrOS uses 8 bit table for syscalls. Due to development free space for new syscalls is slowly disappearing. This means we need to extend it to 16 bit values.

Current idea is to change syscall IDs to 16 ushort value (uint16_t) and divide it to two bytes, one for category and one for function in that category. As for now MicrOS uses 8 bit value divided into two nibbles for group and function. Extension will allow to use up to 65536 syscalls.

Any ideas as for how to make this change are welcome.

Due to this change please do not create new branches without good reason and focus on finishing up current things in W.I.P state, so you don't have to resolve conflicts in future.

If your branch has to add new syscalls, please leave that information here as comment, so we can assign new group ID for your functions.

PLANNED TIME OF APPLYING CHANGES: January/February 2022.