From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH] GDT table patch for resume only reboots problem Date: Tue, 19 Oct 2004 13:39:53 +0200 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20041019113953.GA23062@elf.ucw.cz> References: <20041017210052.GB23733@elf.ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Hiroshi 2 Itoh Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, "Brown, Len" , "Li, Shaohua" List-Id: linux-acpi@vger.kernel.org Hi! > You wrote. > > >What you do at resume time is some computation based on %ds. You can > >do it during suspend time as well, %ds is same as %cs during resume, > >and that should be known during suspend... its the address you set to > >wakeup_vector >> 4. > > You are right and I agree gdtr save area can be modified via > acpi_copy_wakeup_routine() with its FASTCALL argument added. This is the > second version of gdt table patch. Also I changed temp_gdt... to > real_gdt... because temp_gdt... looks like temporary fix. Yes, this si better, thanks! Pavel -- People were complaining that M$ turns users into beta-testers... ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl! ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl