aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/intel/car/cache_as_ram_symbols.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/intel/car/cache_as_ram_symbols.inc')
-rw-r--r--src/cpu/intel/car/cache_as_ram_symbols.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/cpu/intel/car/cache_as_ram_symbols.inc b/src/cpu/intel/car/cache_as_ram_symbols.inc
new file mode 100644
index 0000000000..857e039952
--- /dev/null
+++ b/src/cpu/intel/car/cache_as_ram_symbols.inc
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+/* Trick the linker into supporting x86_64 relocations in 32bit code */
+#if ENV_X86_64
+#define uintptr_t quad
+#else
+#define uintptr_t long
+#endif
+
+rom_mtrr_mask:
+.uintptr_t _rom_mtrr_mask
+
+rom_mtrr_base:
+.uintptr_t _rom_mtrr_base
+
+car_mtrr_mask:
+.uintptr_t _car_mtrr_mask
+
+car_mtrr_start:
+.uintptr_t _car_mtrr_start