blob: 0e5fdc33ee9b0abfda77d279667a10c570cdf058 [file] [log] [blame]
Patrick Rudolph49da0cf2020-09-24 18:57:43 +02001/* SPDX-License-Identifier: GPL-2.0-only */
2
3/* Trick the linker into supporting x86_64 relocations in 32bit code */
4#if ENV_X86_64
5#define uintptr_t quad
6#else
7#define uintptr_t long
8#endif
9
10rom_mtrr_mask:
11.uintptr_t _rom_mtrr_mask
12
13rom_mtrr_base:
14.uintptr_t _rom_mtrr_base
15
16car_mtrr_mask:
17.uintptr_t _car_mtrr_mask
18
Patrick Rudolphc439e072020-09-28 22:31:06 +020019car_mtrr_size:
20.uintptr_t _car_mtrr_size
21
Patrick Rudolph49da0cf2020-09-24 18:57:43 +020022car_mtrr_start:
23.uintptr_t _car_mtrr_start
Arthur Heymansbc7b63f2021-07-02 10:03:17 +020024
25xip_mtrr_mask:
26.uintptr_t _xip_mtrr_mask