Open topic with navigation. Enabling or Disabling WOW64 Emulation on 64-Bit Windows-Based Target Systems. InstallAnywhere 2013. If 32-bit Windows-on-Windows (WOW64) emulation is enabled during installation or uninstallation on a 64-bit version of Windows, problems may occur.
Since you have already posted the diagram it is clear that you know why WOW64 exists. Now to answer your question: I'd like to know what happen in this layer. I think you want to know how it is implemented. Process startup: The loader loads 64-bit user-mode part 'Ntdll.dll' as usual, but also loads 32-bit Ntdll.dll in case the process is for 32-bit execution. It is now the loaders responsibility to initialize using Wow64.dll, which sets up process and thread contexts in 32-bit Ntdll and 'switches the CPU to 32-bit mode' for execution. System Call: Everything is now running in 32-bit mode, until a system call. We know that system calls go through Ntdll.dll, User32.dll, and Gdi32.dll etc; in this case the 32-bit versions.
There is a separate 32-bit version of these libraries located in Windows Syswow64 bit folder. These are just stubs that instead of issuing 'native system calls,' actually call in Wow64.dll.
Now, it's simple for Wow64.dll to transition to 64-bit mode, convert parameters to their 64-bit counterparts, issue the system call using 64-bit versions, get the result, and reconvert the output to 32-bit. It then transitions CPU back to 32-bit mode and returns the output.
Exception dispatching, user callbacks, file system and registry operations, and I/O is handled in the same way, using hooks somewhere down the line. Read the book prescribed below. (especially, how they can convert address space). 64-bit address space is a superset of 32-bit address space. Plus, the same pointer (actually PTE) in 32-bit/64-bit isn't used to refer to the whole address space, but there are separate page tables for user-space and for system space. Please give me some important points. To know windows, the most important point I can give you is to read 'Windows Internals' -- Russinovich.
Says: WOW64 is the x86 emulator that allows 32-bit Windows-based applications to run seamlessly on 64-bit Windows. WOW64 is provided with the operating system and does not have to be explicitly enabled. The system isolates 32-bit applications from 64-bit applications, which includes preventing file and registry collisions.
Bu kalit boshqa kompyuterlarda ishlamaydi. Lekin foydalanib bo’lmaydi. Uzbekcha ruscha darslik din. Chunki har bir xaridorga, to’g’rirog’i har bir kompyuterga alohida dastur kaliti beriladi.
Console, GUI, and service applications are supported. The system provides interoperability across the 32/64 boundary for scenarios such as cut and paste and COM. However, 32-bit processes cannot load 64-bit DLLs for execution, and 64-bit processes cannot load 32-bit DLLs for execution. What specifically do you not understand?