Jeremy Soller
71b70482d3
acpid: Only acquire I/O port rights on x86
2024-10-30 14:01:20 -06:00
Kamil Koczurek
56bfd63173
acpid: update to redox_scheme
...
* Change symbol serialization to RON
2024-09-30 13:22:24 +02:00
bjorn3
7935ed0248
Deduplicate setup_logging between all drivers
...
This will make it easier to change the way logging is done for all
drivers. This also fixes the log category for a couple of drivers as
well as makes failing to set the logger a fatal error. Only when a
logger is already set is it impossible to set another logger.
2024-07-24 22:00:40 +02:00
bjorn3
fd8dabd1bc
Use the new scheme format in most places
...
The graphics subsystem still uses the old format as orbital manually
parses the fpath result.
2024-07-11 21:14:45 +02:00
Jacob Lorentzon
ff956fd3bb
Switch to libredox where applicable (fixed)
2024-03-18 22:09:25 +00:00
Jeremy Soller
98078650f8
Revert "Switch to libredox where applicable."
...
This reverts commit 2e7dbf1cc1 .
2024-03-18 15:00:52 -06:00
4lDO2
2e7dbf1cc1
Switch to libredox where applicable.
2024-03-18 19:23:05 +01:00
4lDO2
a6fee75f15
Phase out / in scheme names.
2023-11-09 14:39:57 +01:00
Ron Williams
0f6d2b8c81
acpid: fix physmap size bug
2023-07-23 22:48:13 -07:00
Ron Williams
9fb4a8be04
Add AmlHandler read/write of physaddr
2023-04-13 19:09:07 -07:00
Jeremy Soller
c26eb11cf1
Support read/write I/O on x86
2023-03-07 19:26:54 -07:00
Jeremy Soller
40334044aa
Revert "Make acpid a no-op on i686 until aml crate issue is fixed"
...
This reverts commit 6cd802b9b4 .
2023-03-02 17:54:36 -07:00
Jeremy Soller
6cd802b9b4
Make acpid a no-op on i686 until aml crate issue is fixed
2023-03-02 12:01:24 -07:00
Ron Williams
f4564d6caf
switch to aml crate, implement acpi:/symbols
2023-01-22 19:42:41 -08:00
4lDO2
21e30b7339
Replace syscall::clone() with libc::fork().
2022-07-27 16:25:01 +02:00
Jeremy Soller
d31133956d
Remove debug: logging from acpid, logd now handles that
2022-02-28 14:02:58 -07:00
Jeremy Soller
88fc91dfb7
Only create acpi scheme after tables are found and parsed
2022-02-28 11:21:47 -07:00
4lDO2
7a2b3d7656
Update dependencies.
2021-06-17 18:18:27 +02:00
4lDO2
391f7c4184
WIP: Improve acpid logging.
2021-03-12 23:45:16 +01:00
4lDO2
3989477669
Also open a file descriptor in debug:.
...
This is to allow the shutdown logs to reach serial output before the
system shuts down, which is especially useful on QEMU.
2021-03-11 17:50:17 +01:00
4lDO2
0feb8685a6
Fix the acpi scheme freeze.
2021-03-11 08:31:43 +01:00
4lDO2
20e6384cca
WIP: Implement the userspace ACPI scheme.
2021-03-10 20:50:16 +01:00
4lDO2
7de9816c50
Basic ACPI init code, daemonize.
2021-03-10 18:06:30 +01:00
4lDO2
5d661eab59
Successfully load physical SDTs, and handle kstop*
...
Well, while it does now wait for the kstop pipe, that is not to say that
it actually performs the ACPI shutdown... yet.
2021-03-10 14:38:43 +01:00
4lDO2
be984885bb
WIP: Move ACPI code from kernel to drivers.
2021-03-10 11:24:27 +01:00