]> git.proxmox.com Git - qemu.git/commit - target-i386/helper.c
x86: make a20_mask int32_t
authorJuan Quintela <quintela@redhat.com>
Tue, 29 Sep 2009 20:48:49 +0000 (22:48 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:39 +0000 (09:32 -0500)
commit5ee0ffaa42b02e04d8047c7fc32687b348719294
treecfe863b16d67c383de96ef2dd237444fe6b7fc74
parent1f76b9b9b3b78fb51c917d3f3efa6fff1e57a734
x86: make a20_mask int32_t

This makes the savevm code correct, and sign extensins gives us exactly
what we need (namely, sign extend to 64 bits when used with 64bit addresess.

Once there, change 0x100000 for 1 << 20, that maks all a20 use the same syntax.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-i386/cpu.h
target-i386/helper.c
target-i386/machine.c