[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] hvmloader: Declare get_hvm_info_table/get_shared_info as const funcs.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1311411424 -3600
# Node ID d8725d9fb8657874011d2f2772f5e970b24dfe9b
# Parent  5f7dc61e166bab47294fbb4be8b4e05d137562b4
hvmloader: Declare get_hvm_info_table/get_shared_info as const funcs.

The compiler can perform CSE on their call sites.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
---


diff -r 5f7dc61e166b -r d8725d9fb865 tools/firmware/hvmloader/config.h
--- a/tools/firmware/hvmloader/config.h Sat Jul 23 09:56:13 2011 +0100
+++ b/tools/firmware/hvmloader/config.h Sat Jul 23 09:57:04 2011 +0100
@@ -55,9 +55,8 @@
 #define PCI_MEM_END         0xfc000000
 extern unsigned long pci_mem_start, pci_mem_end;
 
-/* We reserve 16MB for special BIOS mappings, etc. */
+/* Reserved for special BIOS mappings, etc. */
 #define RESERVED_MEMBASE    0xfc000000
-#define RESERVED_MEMSIZE    0x01000000
 
 /* Memory map. */
 #define SCRATCH_PHYSICAL_ADDRESS      0x00010000

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.