
Would this be a good idea?And if it is,does anyone know some more ideas for it?
The scripting engine runs the scripts,the VM runs bytecode executables.bluemoon wrote:So, you are describing a scripting engine or virtual machine?
The VM is like a CISC machine.It has it's own LDT,GDT etc.Solar wrote: @ amd64pager:
You are aware that this will not make your OS any simpler to develop? Your VM would have to handle memory management, hardware management and abstraction, I/O handling, i.e. all the stuff that a common OS kernel has to do.
What this approach does give you are the advantages of a virtualized environment - but that is an advantage that becomes tangible only after you're done with the VM.
And as I said before in this post,it is just a VM.The OSVM-based Kernel Framework Class Library(OSVMBKFCL)implements some of the functions that you put there,but not managers and other stuff.I also have the concept of rings and IOPL in my VM.A thread with a CPL lower than the IOPL can do I\O access directly to the hardware.Solar wrote: Your VM would have to handle memory management, hardware management and abstraction, I/O handling, i.e. all the stuff that a common OS kernel has to do.