lkml.org 
[lkml]   [2004]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] Fix GDT re-load on ACPI resume
    Hi!

    > > movw _0x0e00 + 'i', %fs:(0x12)
    > >
    > > # need a gdt
    > >+ .byte 0x66 # force 32-bit operands in case
    > >+ # the GDT is past 16 megabytes
    > > lgdt real_save_gdt - wakeup_code
    > >
    > > movl real_save_cr0 - wakeup_code, %eax
    > There is a patch from hiroit@mcn.ne.jp to fix the GDT issue. You can try
    > it.

    Well, replacing lgdt with lgdtl (above) seems like nicer solution than
    attachment...
    --
    64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:4.773 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site