From: Keir Fraser Subject: Re: Is there a way to add GDT entries without having a second page? Date: Fri, 6 May 2005 07:10:10 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kip Macy Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 6 May 2005, at 01:50, Kip Macy wrote: > I can add entries incrementally to the GDT by having a second page > frame lying around copying from the current one to the unused one and > then switching between them for updates, but is there a more elegant > way? What's the problem? You want a 'writable GDT'? This is very doable since we have the emulator, but in Linux it was not hard to patch the places that write to the GDT to do a hypercall instead. -- Keir