diff options
author | Zhaoming Luo <zhmingluo@163.com> | 2024-12-11 08:54:15 +0800 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2024-12-11 22:17:20 +0100 |
commit | 5ca0fa556b24463bd52ce5e45dddefcd766ae9c3 (patch) | |
tree | cbd03c87ca8c05a9936ab797e869e42074041fbb /Makefile | |
parent | 85d59af5be84d122adab484a9c961462d4fdbfda (diff) | |
download | hurd-5ca0fa556b24463bd52ce5e45dddefcd766ae9c3.tar.gz hurd-5ca0fa556b24463bd52ce5e45dddefcd766ae9c3.tar.bz2 hurd-5ca0fa556b24463bd52ce5e45dddefcd766ae9c3.zip |
Add rtc translator and RTC CMOS driver
A /hurd/rtc translator will be created as, users can create a /dev/rtc
device using the following command:
```
sudo settrans -c /dev/rtc /hurd/rtc
```
* Makefile: add rtc-cmos server into the compile chain
* hurd/pioctl.defs: new file. Interfaces for rtc ioctl operations
* hurd/rtc.h: new file. Interfaces for rtc device
* rtc/Makefile: new file. Makefile for rtc server
* rtc/main.c: new file. Initialisation for rtc translator
* rtc/mig-mutate.h: new file. Type translation for rtc server
* rtc/rtc-cmos_pioctl-ops.c: new file. The rtc-cmos server-side implementation
Signed-off-by: Zhaoming Luo <zhmingluo@163.com>
Message-ID: <20241211005415.507656-2-zhmingluo@163.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -47,7 +47,8 @@ prog-subdirs = auth proc exec term \ init \ devnode \ eth-multiplexer \ - shutdown + shutdown \ + rtc ifeq ($(HAVE_LIBRUMP),yes) prog-subdirs += rumpdisk |