Commit Graph

22 Commits

Author SHA1 Message Date
Ron Williams 9c739d7648 Add description text in toml format for each symbol in acpi:/symbols 2023-01-28 22:47:28 -08: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 da8ecef8a7 Workarounds for aarch64 support 2022-07-26 16:11:45 -06: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
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
Jeremy Soller 4da3ceb723 Workaround hang on real hardware 2021-08-10 18:25:44 -06:00
4lDO2 7a2b3d7656 Update dependencies. 2021-06-17 18:18:27 +02:00
4lDO2 641feb01b1 Print parsed tables only with debug verbosity. 2021-03-13 12:40:26 +01: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 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 5fc0f0fa4e Successfully parse the namespace. 2021-03-11 12:48:34 +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 df4a6aee81 Remove global variables, make it compile. 2021-03-10 12:13:28 +01:00
4lDO2 be984885bb WIP: Move ACPI code from kernel to drivers. 2021-03-10 11:24:27 +01:00