bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/6] enable syscalls on x86_64


From: Sergey Bugaev
Subject: Re: [PATCH 6/6] enable syscalls on x86_64
Date: Fri, 24 Feb 2023 18:19:57 +0300

On Wed, Feb 22, 2023 at 6:31 PM Luca Dariz <luca@orpolo.org> wrote:
> yes this is the entry point through the call gate, it works with any
> 32-bit binary that you can compile on  32-bit hurd. For testing you can
> use a ramdisk, like the installer, or some simple executable (I have my
> own scripts [0] that I would like to polish and integrate somewhere).
>
> Note that on a 64-bit kernel the linux drivers are not integrated, and
> user-space drivers currently don't work because of missing interrupt
> support (and maybe something else).
>
> As far as I understand from Intel's datasheets, it should be possible to
> use a far call also from a 64-bit userspace, but I couldn't find the
> right way so far, so I was looking at the syscall/sysret mechanisms instead.
>
> Luca
>
> [0] https://gitlab.com/luckyd/gnumach/-/tree/prepare64_wip/tests

I see — cool. I'm of course interested in 64-bit userspace, so please
keep us updated on that. I could help with integrating it on the glibc
side.

Sergey



reply via email to

[Prev in Thread] Current Thread [Next in Thread]