From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RP_MATCHES_RCVD autolearn=unavailable autolearn_force=no version=3.4.1 Date: Tue, 8 Feb 2022 23:02:38 +0300 From: "Alexey V. Vissarionov" To: ALT Linux Team development discussions Message-ID: <20220208200238.GB6766@altlinux.org> References: <20220129160021.GB20009@altlinux.org> <20220129182548.ykyfoq62oiqs46gy@example.org> <3770fbd3-a999-acb8-0c78-fe2d33608dcb@basealt.ru> <06d6f09e-b4f8-2cb9-d696-2ec14b0467ef@basealt.ru> <9717c3e58309278d147fc1112ffa4ef6@altlinux.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9717c3e58309278d147fc1112ffa4ef6@altlinux.ru> Subject: Re: [devel] subrepository for 32-bit X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2022 20:02:44 -0000 Archived-At: List-Archive: List-Post: On 2022-02-08 21:43:41 +0300, Vitaly Lipatov wrote: >> https://wiki.winehq.org/ARM64 > Возможно, Илья интересовался, как же на ARM будут запускать > старые 32-битные Windows-программы: > https://github.com/AndreRH/hangover Очень говорящее название... 1) How it works We have one Wine on the host in 64-bit only mode and two on the guest side for 64-bit and 32-bit. Inbetween sits a modified version of Qemu that runs the x86(_64) code. To glue it all together there are thunks, lots of them handwritten to understand in which situation a pointer is valid and in which situation it could point to a random address and should be ignored, and how to handle writes to resulting structures in case of errors etc. З.Ы. (Замечу Ышо): "hangover" обычно переводят как "похмелье", но более точным является слово "бодун" или даже "бодунище" :-) -- Alexey V. Vissarionov gremlin ПРИ altlinux ТЧК org; +vii-cmiii-ccxxix-lxxix-xlii GPG: 0D92F19E1C0DC36E27F61A29CD17E2B43D879005 @ hkp://keys.gnupg.net