I just started developing an operating system using cosmos for visual studio (in c#)
A lot of people said how to shut it down, and I tried every method but this one gives some weird error I simply cannot understand!
this is the code I am using to shutdown the os:
this.stop()
Cosmos.Core.Bootstrap.CPU.halt();
but this is the error I receive when building:
Error occurred while invoking IL2CPU
Exception: System.Exception: Assembly 'CosmosKernel7' is in ring User(3). It references assembly 'Cosmos.Core' which is in ring Core(0), but this is not allowed!
I have no idea what that means....
Can someone help me fix this?
thank you!