bug-hurd
[Top][All Lists]
Advanced

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

Re: How to create a Hurd translator?


From: Samuel Thibault
Subject: Re: How to create a Hurd translator?
Date: Mon, 20 Apr 2020 20:37:50 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Almudena Garcia, le lun. 20 avril 2020 20:28:34 +0200, a ecrit:
> Ok. In any case, I need to know the "API" of ACPI translator,

For now it's just the /servers/acpi files that you can open()/read().
That is plain C code.

> and how to raise the RPC to set the communication.

For that part, you will indeed need to add a device inside GNU Mach,
that you will be able to driver from userland.

> Where can I find this information?

You can find the "Device Interface" chapter in the mach manual. You have
several examples referenced in ./i386/i386at/conf.c. For setting up SMP,
you would probably just want to implement the device_set_status call.

Samuel



reply via email to

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