git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@550 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-01 08:05:32 +00:00
parent 3b7b2f662b
commit 22e75cc25d
7 changed files with 292 additions and 279 deletions

View File

@@ -40,7 +40,7 @@ switch(ty) {
#if defined(__WATCOMC__) || defined(__i386__) || defined(__amd64__)
static MwU32 getCPUFeatures(void) {
MwU32 _eax = 1;
MwU32 _eax = 1;
MwU32 _edx;
#ifdef __WATCOMC__
@@ -50,7 +50,7 @@ static MwU32 getCPUFeatures(void) {
mov _edx, edx
}
#else
asm volatile (
asm volatile(
"cpuid" : "=a"(_eax), "=d"(_edx)
: "a"(1) : "ebx", "ecx");
#endif