1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-09-19 05:45:36 +05:30

cpuid_vendor_id.mod.c: make use of enum

This commit is contained in:
Intel A80486DX2-66 2024-06-26 00:18:51 +03:00
parent 6efb83187f
commit 339eb170ec
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -25,10 +25,12 @@
typedef unsigned int cpuid_t[4];
#define EAX 0
#define EBX 1
#define ECX 2
#define EDX 3
enum CPU_registers {
EAX = 0,
EBX,
ECX,
EDX
};
// https://elixir.bootlin.com/linux/latest/source/arch/x86/include/asm/
// processor.h#L216