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

Reformating libraries and split them between kernel and applications. #112

Open AzuxDario opened 2 years ago

AzuxDario commented 2 years ago
  1. Libraries should be split, ex. standard library aka libc should be compiled to separate file and MicrOs library should be too.
  2. Libraries should be compiled for kernel and for applications. Because sometimes in kernel we need these functions. And since kernel needs different handling of memory allocation, and in future differences may increase. This should be handled by different builds of libraries with differences made by ifdef ifndef etc.