qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [Bochs-developers] [PATCH v5 1/5] Add S3 state to DSDT.


From: Kevin O'Connor
Subject: [Qemu-devel] Re: [Bochs-developers] [PATCH v5 1/5] Add S3 state to DSDT. Handle resume event in the BIOS.
Date: Sat, 6 Dec 2008 21:57:38 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

Hi Gleb,

On Thu, Nov 27, 2008 at 01:02:25PM +0200, Gleb Natapov wrote:
[...]
> @@ -10375,6 +10420,12 @@ normal_post:
>    mov  ds, ax
>    mov  ss, ax
>  
> +  ;; Save shutdown status
> +  mov 0x04b0, bl
> +
> +  cmp bl, #0xfe
> +  jz s3_post
> +

What sets 40:b0 to 0xfe on a resume?

Also, wouldn't this corrupt memory used by the stack (the stack gets
set to 0xfffe, and s3_post has call insns in it)?

-Kevin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]