Commit Graph

25 Commits

Author SHA1 Message Date
Jeremy Soller 67f4ca3d73 Update redox-scheme 2024-10-18 07:32:38 -06:00
Andrey Turkin 18b688a49c Partial risc-v support 2024-10-17 20:07:17 +03: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
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
Jeremy Soller 61e9512468 Update redox_syscall to 0.4 2023-09-07 20:49:37 -06:00
4lDO2 477b1c0ada Remove physmap in acpid. 2023-07-18 11:01:16 +02:00
Ron Williams 1baac63934 clean up aml symbols 2023-03-29 01:41:13 -07:00
Ron Williams 23be7ed63c Add serde with separate library for definitions 2023-03-27 20:58:59 -07:00
Ron Williams 9333d9acea temporarily use forked library for AML 2023-03-21 17:14:50 -07:00
Jeremy Soller 7d7a706cb3 Update aml to 0.16.3 2023-03-03 18:24:17 -07:00
Jeremy Soller 9ba1358077 Used patched aml 2023-03-02 17:56:19 -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 af873f7626 Update redox_syscall dependency. 2022-07-27 17:55:39 +02:00
4lDO2 21e30b7339 Replace syscall::clone() with libc::fork(). 2022-07-27 16:25:01 +02:00
Jeremy Soller 860821c150 Support compilation on more architectures 2022-07-26 16:01:54 -06:00
4lDO2 07f10fb4d1 Update redox_syscall to v0.2.12 2022-03-24 16:06:00 +01:00
4lDO2 7a2b3d7656 Update dependencies. 2021-06-17 18:18:27 +02:00
4lDO2 c6efa649be Add DMAR parsing.
In the future, this will probably be moved into its own driver, probably
called `intelvtdd` or `intelvfiod`. This is because `acpid` already
provides an interface to read from ACPI tables, which `pcid` has used
for quite long (when that scheme was provided by the kernel). AMD
implements IOMMU as a PCI function, so letting these be separate drivers
would certainly be beneficial.

The same thing might apply for HPET or MADT, which are the only ACPI
tables still parsed in the kernel.
2021-03-13 12:34:56 +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