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)
commitd2ac7f0d67b7be3acfbd10d9d16677187657e26e
treecfe863b16d67c383de96ef2dd237444fe6b7fc74
parentd4d93b4fbb8af4da40cc2e1b752bcae5ecf662cd
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