I read that LDT (Local Descriptor Table) does not exist in 64-bit architecture and was wondering how a 32-bit system that uses it is emulated.
If LDT does not exist in 64-bit architecture how are 32-bit systems that use it emulated on a 64-bit architecture?
483 Views Asked by Kamil Abdurahim At
1
There are 1 best solutions below
Related Questions in ASSEMBLY
- Add additional fields to Linq group by
- couldn't copy pdb file to another directory while consuming wcf web service
- Why are the aliases for string and object in lowercase?
- WPF MessageBox Cancel checkbox check
- Resolve object using DI container with object instance
- Creating a parametrized field name for a SELECT clause
- Does compiler optimize operation on const variable and literal const number?
- Get data from one form to another form in C#
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Deleting Orphans with Fluent NHibernate
Related Questions in X86
- Add additional fields to Linq group by
- couldn't copy pdb file to another directory while consuming wcf web service
- Why are the aliases for string and object in lowercase?
- WPF MessageBox Cancel checkbox check
- Resolve object using DI container with object instance
- Creating a parametrized field name for a SELECT clause
- Does compiler optimize operation on const variable and literal const number?
- Get data from one form to another form in C#
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Deleting Orphans with Fluent NHibernate
Related Questions in X86-64
- Add additional fields to Linq group by
- couldn't copy pdb file to another directory while consuming wcf web service
- Why are the aliases for string and object in lowercase?
- WPF MessageBox Cancel checkbox check
- Resolve object using DI container with object instance
- Creating a parametrized field name for a SELECT clause
- Does compiler optimize operation on const variable and literal const number?
- Get data from one form to another form in C#
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Deleting Orphans with Fluent NHibernate
Related Questions in INSTRUCTION-SET
- Add additional fields to Linq group by
- couldn't copy pdb file to another directory while consuming wcf web service
- Why are the aliases for string and object in lowercase?
- WPF MessageBox Cancel checkbox check
- Resolve object using DI container with object instance
- Creating a parametrized field name for a SELECT clause
- Does compiler optimize operation on const variable and literal const number?
- Get data from one form to another form in C#
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Deleting Orphans with Fluent NHibernate
Related Questions in GDT
- Add additional fields to Linq group by
- couldn't copy pdb file to another directory while consuming wcf web service
- Why are the aliases for string and object in lowercase?
- WPF MessageBox Cancel checkbox check
- Resolve object using DI container with object instance
- Creating a parametrized field name for a SELECT clause
- Does compiler optimize operation on const variable and literal const number?
- Get data from one form to another form in C#
- Writing/Overwriting to specific XML file from ASP.NET code behind
- Deleting Orphans with Fluent NHibernate
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Your premise is incorrect. Even when running a 64-bit kernel, x86-64 can still use an LDT.
lldt
is valid in 64-bit mode. More specifically, a comment on Is an LDT needed? indicates that 64-bit Windows forbids using it, but that's just Windows, not the x86-64 ISA. For example, x86-64 Linux still supports themodify_ldt()
system call. (IIRC, Linux didn't bother to add functionality to let you create 64-bit code segments with it, though. But a purely 32-bit process wouldn't need to do that.)But that would only be relevant for a 32-bit user-space process that needs to create an LDT entry.
You were asking about a 32-bit system, i.e. booting an old kernel that isn't aware of x86-64 at all.
An x86-64 CPU in legacy mode (i.e. running a 32-bit kernel) is exactly identical to a CPU that doesn't support 64-bit mode at all. (Except that it will switch into 64-bit mode if you put certain bits in the right places.) So the CPU being 64-bit capable really has nothing to do with running a fully 32-bit system.
If you truly mean emulated, then the underlying HW is irrelevant. Write your emulator in any Turing-complete language, and include that feature. (Or use an existing one like BOCHS or Qemu.)
If you mean hardware virtualization (e.g. Intel VT or AMD-V), then a VM guest can do whatever it wants, including run in legacy mode and boot 32-bit Windows or run your own custom bare-metal OS in real, protected, or long mode. It's irrelevant if the host VM is running 64-bit Windows or whatever, the guest's LDT is its own business and doesn't involve an LDT on the host.
If you meant virtualization without hardware support, like in the bad old days before Intel VT and AMD-V, that's harder but the hypervisor is outside any of the guests, so they're still independent of each other. It's hard because x86 has some "sensitive" (in the virtualization sense) instructions that don't trap. This is why most people only do x86 virtualization at all with HW support. If that's not available, just emulate, like with BOCHS, or Qemu's JIT dynamic recompilation.