We got away with it because _start-HYPERCALL_PHYSICAL_ADDRESS happens
to equal HYPERCALL_PHYSICAL_ADDRESS.
Signed-off-by: Keir Fraser <keir@xen.org>
#define RESERVED_MEMBASE 0xfc000000
#define RESERVED_MEMSIZE 0x01000000
+/* Memory map. */
#define SCRATCH_PHYSICAL_ADDRESS 0x00010000
#define HYPERCALL_PHYSICAL_ADDRESS 0x00080000
-
#define VGABIOS_PHYSICAL_ADDRESS 0x000C0000
+#define HVMLOADER_PHYSICAL_ADDRESS 0x00100000
#endif /* __HVMLOADER_CONFIG_H__ */
* NB. Hypercall address needs to be relative to a linkage symbol for
* some version of ld to relocate the relative calls properly.
*/
-#define hypercall_pa "_start - " STR(HYPERCALL_PHYSICAL_ADDRESS)
+#define hypercall_pa "_start - " STR(HVMLOADER_PHYSICAL_ADDRESS) \
+ " + " STR(HYPERCALL_PHYSICAL_ADDRESS)
#define _hypercall0(type, name) \
({ \