]> 4ch.mooo.com Git - 16.git/blob - src/lib/doslib/hw/cpu/cpup3sn.h
added a bunch of things~ and midi stuff~
[16.git] / src / lib / doslib / hw / cpu / cpup3sn.h
1
2 #include <stdint.h>
3 #include <dos.h>
4
5 #pragma pack(push,1)
6 struct cpu_serial_number {
7         uint32_t        raw[4]; /* EDX, ECX, EBX, EAX */
8 };
9 #pragma pack(pop)
10
11 /* WARNING: Caller is expected to check CPUID information to ensure the
12             processor supports this feature! */
13 void cpu_ask_serial();
14 void cpu_disable_serial();
15 extern struct cpu_serial_number cpu_serial;
16