diff options
author | Keir Fraser <keir@xen.org> | 2011-02-07 09:58:11 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2011-02-07 09:58:11 +0000 |
commit | 00cee37d3759218c28856d092713b44633fde1f3 (patch) | |
tree | 0190b6c7348f4f3a80e14af27a444a3771996fec /extras/mini-os/include | |
parent | 462236bac932a5016dc0c2907054b5517a51728a (diff) | |
download | xen-00cee37d3759218c28856d092713b44633fde1f3.tar.gz xen-00cee37d3759218c28856d092713b44633fde1f3.tar.bz2 xen-00cee37d3759218c28856d092713b44633fde1f3.zip |
Pack some hvmop memory structures better
Some of the hvmop memory structures have a shocking amount of
unnecesssary padding in them. Elements which can have only 3 values
are given 64 bits of memory, and then aligned (so that there is
padding behind them).
This patch resizes and reorganizes in the following way, (hopefully)
without introducing any differences between the layout for 32- and
64-bit.
xen_hvm_set_mem_type:
hvmmem_type -> 16 bits
nr -> 32 bits (limiting us to setting 16TB at a time)
xen_hvm_set_mem_access:
hvmmem_access -> 16 bits
nr -> 32 bits
xen_hvm_get_mem_access:
hvmmem_access -> 16 bits
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include')
0 files changed, 0 insertions, 0 deletions