Commit Graph

62 Commits

Author SHA1 Message Date
Jeremy Soller 2ee3a846fb acpid: do not enter null namespace (workaround for pci) 2025-11-22 17:30:37 -07:00
Jeremy Soller e114fd9bda acpid: use pcid access file 2025-11-22 17:30:10 -07:00
Jeremy Soller cd5adcd848 acpid: initialize aml on demand 2025-11-22 17:29:46 -07:00
Jeremy Soller e129875294 Remove unnecessary double evaluation of AML 2025-11-22 10:12:56 -07:00
Jeremy Soller 28dd3596f3 More logging adjustments and set default level to info 2025-11-02 07:55:32 -07:00
Jeremy Soller 6d5523de2a Set all log levels, reduce unnecessary logs 2025-11-01 19:36:38 -06:00
aarch 22ab2fe17d Fix inverted root check 2025-10-25 15:42:45 +02:00
aarch 63bad63321 Expose AML evaluation through acpi scheme 2025-10-24 11:48:29 -06:00
Jeremy Soller 62fab168e5 Update to latest acpi crate 2025-09-28 08:53:18 -06:00
bjorn3 04ae0158c9 Update most crates to redox-scheme 0.6
A couple of crates need to stay on redox-scheme 0.4 as they need
cancellation for async schemes.
2025-07-04 22:13:24 +02:00
bjorn3 71f1838eea acpid: Rustfmt 2025-05-20 22:03:10 +02:00
Jeremy Soller 5b1e472431 Clean up aml::Handler 2025-04-25 10:16:08 -06:00
bjorn3 328f96bd8f acpid: Gracefully exit on non-ACPI systems 2025-04-12 14:13:57 +02:00
bjorn3 5d76acfd74 Update to redox-scheme 0.4 2025-03-14 22:11:30 +01:00
bjorn3 581d9eea33 Replace a whole bunch more repr(packed) with repr(C, packed) 2025-02-22 16:19:25 +01:00
bjorn3 e973f89139 Remove unnecessary feature gates
Some of these have been stabilized while others were likely no longer
used at all.
2025-02-22 14:38:33 +01:00
bjorn3 2c042f8c98 Fix a ton of unused import warnings 2024-12-26 16:05:04 +01:00
bjorn3 8eabb75524 Update redox-scheme to 0.3.0 2024-12-26 15:50:30 +01:00
Andrey Turkin 2f9e28e23e Rerun cargo fmt to bring CI back to norm 2024-12-18 21:16:17 +03:00
Jeremy Soller 2975f93f30 acpid: fix compilation on riscv64gc 2024-10-31 10:53:05 -06:00
Jeremy Soller e765d9c8e1 acpid: only build dmar for x86_64 2024-10-30 20:43:46 -06:00
Jeremy Soller 71b70482d3 acpid: Only acquire I/O port rights on x86 2024-10-30 14:01:20 -06:00
Jeremy Soller 42970953fc Fix acpid compilation on non-x86 2024-10-30 13:52:19 -06:00
Andrey Turkin 09b5033fbd Wholesale cargo fmt to get CI back to green 2024-10-17 20:07:05 +03:00
Kamil Koczurek 56bfd63173 acpid: update to redox_scheme
* Change symbol serialization to RON
2024-09-30 13:22:24 +02:00
Kamil Koczurek d2c82add9d Move Io/Pio/Mmio from redox_syscall to common
* Fix Mmio repr from transparent to packed.
* Rename Mmio::from to Mmio::new.
* Remove dead imports around affected code.
* Minor formatting.
2024-09-30 13:01:36 +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 8c0d255ccd acpid: improved bug fix 2023-07-24 01:15:28 -07:00
Ron Williams 0f6d2b8c81 acpid: fix physmap size bug 2023-07-23 22:48:13 -07:00
4lDO2 477b1c0ada Remove physmap in acpid. 2023-07-18 11:01:16 +02:00
4lDO2 a5a3f3341f Remove all usages of physunmap. 2023-06-11 11:33:27 +02:00
Ron Williams 9fb4a8be04 Add AmlHandler read/write of physaddr 2023-04-13 19:09:07 -07: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
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 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 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
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