Commit Graph

3361 Commits

Author SHA1 Message Date
Kamil Koczurek e49fae6533 chore: fmt.sh 2024-09-30 13:22:34 +02: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
Jeremy Soller ea5ccbc84d Merge branch 'ivan/mmc_update_scheme' into 'master'
migrate bcm2835-sdhcid to v2 scheme protocol

See merge request redox-os/drivers!202
2024-09-29 12:51:07 +00:00
Ivan Tan 897cf31893 migrate bcm2835-sdhcid to v2 scheme protocol 2024-09-29 09:36:36 +00:00
Jeremy Soller aa6cc8f7a5 Merge branch 'kek/bump-redox-rt' into 'master'
Implement initfs symlinks; bump redox-rt

See merge request redox-os/bootstrap!14
2024-09-23 17:12:31 +00:00
Jeremy Soller 82a69478aa Merge branch 'kek/default-scheme' into 'master'
Use set_default_scheme to control resolution of absolute paths

See merge request redox-os/init!13
2024-09-23 17:12:12 +00:00
Kamil Koczurek e0c153a5ed Switch to newest redox-rt 2024-09-23 17:02:42 +02:00
Jeremy Soller c805dbb704 Merge branch 'add_assertion_to_pci_driver' into 'master'
Add Non-Null Check to common driver library to prevent a kernel crash due to an unitialized PCI BAR

See merge request redox-os/drivers!200
2024-09-21 02:25:38 +00:00
Timothy Finnegan 806e8b42b7 Added an assertion to map_bar that causes the calling driver to panic rather than crash the kernel 2024-09-20 18:42:03 -07:00
Timothy Finnegan 306bb7d698 Added an assertion to map_bar that causes the calling driver to panic rather than crash the kernel 2024-09-20 18:39:25 -07:00
Kamil Koczurek 23fa812de1 Use set_default_scheme to control resolution of absolute paths 2024-09-20 21:03:04 +02:00
Jeremy Soller d0802237d7 Merge branch 'kek/symlinks' into 'master'
Add symlink support

See merge request redox-os/redox-initfs!3
2024-09-17 17:23:11 +00:00
Kamil Koczurek 873062c1c2 Document missing support for non-utf8 paths 2024-09-14 22:41:58 +02:00
Kamil Koczurek 7005f5ee65 Specify pathdiff version 2024-09-14 12:29:55 +02:00
Kamil Koczurek f0dec135b9 Add symlink support
* Implement symlinks
  * Initfs only has links with absolute paths.
  * Relative links are assumed to be relative to link location.
  * Absolute paths must point into the archived location. E.g. if we
    archive /home/foo/data and wish the resultant link to point to
    /scheme/rand, then the absolute link must be
    /home/foo/data/scheme/rand.
* Move archive_common to a crate within the workspace -- Rust doesn't
  seem to accept #[path(..)] attributes with `..` segments anymore so
  tests wouldn't build on my machine.
* Improve the test to assert complete filesystem structure.
* Bump to edition 2021
* cargo fmt & clippy
2024-09-14 12:17:44 +02:00
Jeremy Soller f61461e526 Merge branch 'getdents' into 'master'
Make scheme fully stateless.

See merge request redox-os/ramfs!9
2024-09-13 12:47:24 +00:00
4lDO2 e553969a71 Implement fpath. 2024-09-13 14:45:13 +02:00
4lDO2 8ab2ebb6f0 Make scheme fully stateless.
Stateless in this case means the inode number is sufficient for describing an open file handle.
2024-09-13 14:45:12 +02:00
Jeremy Soller 8bc7703d0f Merge branch 'getdents' into 'master'
Implement getdents

See merge request redox-os/bootstrap!13
2024-09-13 12:42:49 +00:00
4lDO2 0fe6bbcee2 Implement getdents 2024-09-12 10:30:13 +02:00
Jeremy Soller 83b16768dd Merge branch 'document_xhic_daemon' into 'master'
Added some documentation to the XHCI daemon, clarified the scheme interface with a refactor

See merge request redox-os/drivers!198
2024-09-10 00:43:42 +00:00
Timothy Finnegan 39f43a51a1 Added some documentation to the XHCI daemon, clarified the scheme interface with a refactor 2024-09-10 00:43:42 +00:00
4lDO2 65cf406b7d Future-proof: repr(packed) => repr(C, packed). 2024-09-08 21:09:22 +02:00
Jeremy Soller 897866d948 xhcid: switch back to polling and leave TODO 2024-09-06 20:09:04 -06:00
4lDO2 db2322c95c V2 scheme. 2024-09-07 02:01:53 +02:00
4lDO2 1c88eea6c4 Rustfmt, use v2 scheme. 2024-09-07 01:02:03 +02:00
4lDO2 e0f930ad72 Update dependencies, rustfmt, use v2 scheme. 2024-09-07 00:51:02 +02:00
4lDO2 286bd4a7d6 Implement fsize+ftruncate, update, and rustfmt. 2024-09-06 15:48:39 +02:00
Jeremy Soller b29d2c7c9e xhcid: switch back to interrupts 2024-09-04 15:00:35 -06:00
Jeremy Soller 640e548972 Use 0.0.0.0 as default IP to fix DHCP on real system 2024-09-04 14:55:48 -06:00
Jeremy Soller 50b1ad7e28 Merge branch 'create_rustdocs_for_drivers' into 'master'
Created docs for drivers/common

See merge request redox-os/drivers!197
2024-09-01 12:56:14 +00:00
Jeremy Soller a803c123cc Merge branch 'pr_templates_in_drivers_repo' into 'master'
Copied the merge request templates from the core repo to the drivers repo such...

See merge request redox-os/drivers!196
2024-09-01 12:51:22 +00:00
Jeremy Soller cdc02104ea Merge branch 'update_gitignore_to_add_local_editor_config_directories' into 'master'
Update gitignore to add local editor config directories

See merge request redox-os/drivers!195
2024-09-01 12:50:51 +00:00
Timothy Finnegan 1ce1949416 Ran rustfmt to re-format my changes 2024-08-31 16:19:58 -07:00
Timothy Finnegan f2decff457 Added link wrappers around the wikipedia link in SGL 2024-08-31 16:17:13 -07:00
Timothy Finnegan e9e7e2934e Added documentation for the dma, logger, and sgl modules 2024-08-31 16:16:35 -07:00
Timothy Finnegan d7852b4836 Created docs for common/src/lib.rs 2024-08-31 14:48:35 -07:00
Timothy Finnegan 32ba2f1f19 Copied the merge request templates from the core repo to the drivers repo such that PRs have those templates available to them 2024-08-31 12:17:36 -07:00
Timothy Finnegan 24c01b1760 Added comments describing additions to the gitignore 2024-08-31 12:11:05 -07:00
Timothy Finnegan ffb1f7dcd0 Added various C/C++ and Rust editor directories to the gitignore 2024-08-31 12:09:25 -07:00
Jeremy Soller f404d64f13 Merge branch 'no_seek' into 'master'
Replace seek() with fsize().

See merge request redox-os/ramfs!8
2024-08-30 21:35:38 +00:00
4lDO2 8faf127894 Replace seek() with fsize(). 2024-08-30 21:22:00 +02:00
Jeremy Soller 2980e15280 Merge branch 'no_legacy_scheme' into 'master'
Update redox_event

See merge request redox-os/ipcd!8
2024-08-19 16:47:50 +00:00
Jeremy Soller 7c5c6faf89 Merge branch 'no_legacy_scheme' into 'master'
Remove all usages of the legacy scheme syntax

See merge request redox-os/ramfs!7
2024-08-19 16:47:41 +00:00
bjorn3 fa97ec8a3b Update redox_event
This remove all usages of the legacy scheme syntax
2024-08-19 18:45:08 +02:00
bjorn3 6f076cd905 Remove all usages of the legacy scheme syntax 2024-08-19 18:36:45 +02:00
Jeremy Soller ab26604894 Merge branch 'no_legacy_scheme' into 'master'
Remove all usages of the legacy scheme syntax

See merge request redox-os/ptyd!12
2024-08-18 22:17:27 +00:00
Jeremy Soller c09063f4f4 Merge branch 'update_redox_log' into 'master'
Update redox-log

See merge request redox-os/drivers!194
2024-08-18 22:14:46 +00:00
bjorn3 e2361f8ef1 Remove all usages of the legacy scheme syntax 2024-08-18 21:51:31 +02:00