Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
BSD 3-Clause "New" or "Revised" License
2.93k
stars
554
forks
source link
`CPU.GetCPUBrandString()` causes Cosmos CPU Exception despite `CPU.CanReadCPUID()` being a non-zero value #2716
Open
jvyden opened 1 year ago
Area of Cosmos - What area of Cosmos are we dealing with?
Cosmos' implementation of
CPUID
Expected Behaviour - What do you think that should happen?
Cosmos returns the correct CPU brand string when invoking
CPU.GetCPUBrandString()
.Actual Behaviour - What unexpectedly happens?
A CPU Exception occurs, with an invalid opcode:
Reproduction - How did you get this error to appear?
A simple usage of the CPU brand function in BeforeRun, checking CanReadCPUID beforehand:
Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?
Dev Kit cd69dc2f4b6d8273d6476e3004bcdda7de55af88
Additional notes