Re: IA32 | [OFFTOPIC]: Segementation Question

From: Grzegorz Kulewski (kangur_at_polcom.net)
Date: 06/02/05

  • Next message: Jeff Mahoney: "Re: PROBLEM: doing a dd to a dbfile"
    Date:	Thu, 2 Jun 2005 21:17:16 +0200 (CEST)
    To: Matthias-Christian Ott <matthias.christian@tiscali.de>
    
    

    On Thu, 2 Jun 2005, Matthias-Christian Ott wrote:

    > Hi.
    > I'm currently doing some research on the IA32 Segementation Concept. But
    > there's one thing I don't understand:
    > If I perform a far jump it looks like this:
    > jmp 16bit:32bit
    >
    > The 16bit are representing the segement number and the 32bit the offset. But
    > to what refers the 16bit? To the GDT or the current LDT?

    IIRC, there is one bit flag in selector that decides if it is from GDT or
    LDT. But maybe I am wrong...

    Grzegorz Kulewski
    -
    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/


  • Next message: Jeff Mahoney: "Re: PROBLEM: doing a dd to a dbfile"

    Relevant Pages

    • Re: 2.4, 2.6, i686/athlon and LDTs
      ... > descriptor regardless of if it came from the GDT or LDT. ... do't confuse people with "does anyone have comparison information ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: IA32 | [OFFTOPIC]: Segementation Question
      ... Grzegorz Kulewski wrote: ... To the GDT or the current LDT? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] abstract out bits of ldt.c
      ... >>controlled kernel interface which talks to a generic hypervisor rather than ... >it's not about pages at this point, it's about ldt handling. ... (for GDT this is TLS, LDT, TSS?, entries and there is 1 LDT update case). ...
      (Linux-Kernel)
    • Re: [PATCH 3/6] i386 virtualization - Make ldt a desc struct
      ... > Make the LDT a desc_struct pointer, since this is what it actually is. ... there's such a thing as LDT common case;-) ... This now looks like you can leak data? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 0/21] Descriptor table fixes / cleanup for i386
      ... >>Patches to clean up descriptor access in Linux to make it friendly to ... things, here is the change for GDT alignment ... #define Q2_SET_SEL(cpu, selname, address, size) \ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)