cosmos for Visual Studio (in c#) を使用してオペレーティング システムの開発を開始したばかりです。
多くの人がそれをシャットダウンする方法を言いました、そして私はあらゆる方法を試しましたが、これは私が理解できない奇妙なエラーを引き起こします!
これは、OSをシャットダウンするために使用しているコードです:
this.stop()
Cosmos.Core.Bootstrap.CPU.halt();
しかし、これはビルド時に受け取るエラーです:
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!
意味がわかりません……。
誰かがこれを修正するのを手伝ってくれますか?
ありがとう!