forked from S7rizh/phantomuserland
-
Notifications
You must be signed in to change notification settings - Fork 1
VmClassLookup
Sambura edited this page Mar 27, 2024
·
1 revision
To load some class kernel calls user code. User code supposed to find class by connecting to network repository (which is not ready yet for now), or by some other means (distribution disk, for example). Actually, there's just one way to bring class to system: kernel native class loader. In future it will be used for bootstrap only, to bring initial set of classes to OS, but for now it is all we have.
Kernel class loader can load class from:
- Class bundle brought by multiboot loader as kernel module. See
run/fat/boot/classesfile, made inplib/sys. - From FAT disk
/classdirectory, containing .pc files with compiled Phantom VM classes. Seerun/fat/class/*.pc. This way it is simpe to debug Phantom userland code - compiler can put a copy of binary torun/fat/class/for kernel to pick up.
Some way for kernel to reload class implementation runtime.
Class signing?
:: Home :: RoadMap :: History :: ChangeLog :: ScreenShots :: Phantom Developer's Guide