Messages in this thread | | | Date | Thu, 07 Feb 2008 14:45:35 -0800 | From | "H. Peter Anvin" <> | Subject | Re: [rft] s2ram wakeup moves to .c, could fix few machines |
| |
Rafael J. Wysocki wrote:
> ENTRY(wakeup_long64) > wakeup_long64: > - movq saved_magic, %rax > - movq $0x123456789abcdef0, %rdx > - cmpq %rdx, %rax > - jne bogus_64_magic > + movq saved_magic, %rax > + movq $0x123456789abcdef0, %rdx > + cmpq %rdx, %rax > + jne bogus_64_magic
A random magic is probably more likely to be unique than something like that.
-hpa
| |