aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware
diff options
context:
space:
mode:
authorKeir Fraser <keir@xen.org>2011-07-23 09:56:13 +0100
committerKeir Fraser <keir@xen.org>2011-07-23 09:56:13 +0100
commit1123bdf3b90f500d83a9c12e91f1b3517d6b5da1 (patch)
tree9e7c28b31c87f16fe36234ea9a7f170f7337d2af /tools/firmware
parentdc21926aff31c26c2c291fe02ecf7c31e956a921 (diff)
downloadxen-1123bdf3b90f500d83a9c12e91f1b3517d6b5da1.tar.gz
xen-1123bdf3b90f500d83a9c12e91f1b3517d6b5da1.tar.bz2
xen-1123bdf3b90f500d83a9c12e91f1b3517d6b5da1.zip
hvmloader: Remove bogus and unused RESERVED_MEMSIZE decl.
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/firmware')
-rw-r--r--tools/firmware/hvmloader/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/firmware/hvmloader/util.h b/tools/firmware/hvmloader/util.h
index 3c253ea64b..e000874ec4 100644
--- a/tools/firmware/hvmloader/util.h
+++ b/tools/firmware/hvmloader/util.h
@@ -81,7 +81,7 @@ void pci_write(uint32_t devfn, uint32_t reg, uint32_t len, uint32_t val);
#define pci_writel(devfn, reg, val) (pci_write(devfn, reg, 4, (uint32_t)val))
/* Get a pointer to the shared-info page */
-struct shared_info *get_shared_info(void);
+struct shared_info *get_shared_info(void) __attribute__ ((const));
/* Get CPU speed in MHz. */
uint16_t get_cpu_mhz(void);
@@ -138,7 +138,7 @@ static inline void cpu_relax(void)
})
/* HVM-builder info. */
-struct hvm_info_table *get_hvm_info_table(void);
+struct hvm_info_table *get_hvm_info_table(void) __attribute__ ((const));
#define hvm_info (get_hvm_info_table())
/* String and memory functions */