mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 10:45:28 +00:00
x86/cpu: Use definitions from qemu/units.h
Backports commit 6a4e0614c3e2ca01ac030e9c486c77d4d7225021 from qemu
This commit is contained in:
parent
26948b6b98
commit
f5698ff9a5
|
@ -18,6 +18,7 @@
|
|||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu/units.h"
|
||||
#include "qemu/cutils.h"
|
||||
#include "qemu/bitops.h"
|
||||
#include "unicorn/platform.h"
|
||||
|
@ -54,9 +55,6 @@ struct CPUID2CacheDescriptorInfo {
|
|||
int associativity;
|
||||
};
|
||||
|
||||
#define KiB 1024
|
||||
#define MiB (1024 * 1024)
|
||||
|
||||
/*
|
||||
* Known CPUID 2 cache descriptors.
|
||||
* From Intel SDM Volume 2A, CPUID instruction
|
||||
|
|
Loading…
Reference in a new issue