-
-
Notifications
You must be signed in to change notification settings - Fork 159
增加serio总线和相关trait #488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
fslongjin
merged 13 commits into
DragonOS-Community:master
from
2447742618:patch-serio-device-and-driver
Jan 17, 2024
Merged
增加serio总线和相关trait #488
fslongjin
merged 13 commits into
DragonOS-Community:master
from
2447742618:patch-serio-device-and-driver
Jan 17, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…47742618/DragonOS into patch-serio-device-and-driver
fslongjin
requested changes
Jan 4, 2024
|
||
use super::{serio_bus, serio_device::SerioDevice}; | ||
|
||
/// @brief: 实现该trait的设备驱动实例应挂载在serio总线上, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// 参考: https://code.dragonos.org.cn/xref/linux-6.1.9/include/linux/serio.h#67 | ||
pub trait SerioDriver: Driver { | ||
fn write_wakeup(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; | ||
fn interrupt( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
每个接口的含义要标明一下
fslongjin
requested changes
Jan 15, 2024
|
||
/// 参考: https://code.dragonos.org.cn/xref/linux-6.1.9/include/linux/serio.h#20 | ||
pub trait SerioDevice: Device { | ||
/// @brief: Serio设备写入数据 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fslongjin
approved these changes
Jan 17, 2024
yuyi2439
added a commit
to yuyi2439/DragonOS
that referenced
this pull request
Jan 21, 2024
commit 43ef2a0 Author: LoGin <[email protected]> Date: Sun Jan 21 18:45:07 2024 +0800 添加riscv64的github workflow (DragonOS-Community#499) * 添加riscv64的github workflow commit 7a29d4f Author: LoGin <[email protected]> Date: Sun Jan 21 15:38:12 2024 +0800 riscv64: 映射uefi systemtable,并完善了riscv64页表填写的部分内容 (DragonOS-Community#498) * 从fdt的chosen段获取几个需要的字段 * merge patch-early-ioremap * feature: 增加early io remap的fixmap功能 允许在内存管理初始化之前,使用fixmap功能,映射一些物理内存,并记录. * riscv64: 映射uefi systemtable,并完善了riscv64页表填写的部分内容 * 更新仓库网址 commit 3e3c631 Author: Chiichen <[email protected]> Date: Sun Jan 21 01:38:45 2024 +0800 fix: 修复了ps2和tty初始化顺序的错误 (DragonOS-Community#497) * 修复了ps2和tty初始化顺序的错误 commit 74ffde6 Author: LoGin <[email protected]> Date: Sun Jan 21 01:21:55 2024 +0800 feature: 增加early io remap的fixmap功能 (DragonOS-Community#495) 允许在内存管理初始化之前,使用fixmap功能,映射一些物理内存,并记录. commit 1f58c8f Author: LoGin <[email protected]> Date: Thu Jan 18 22:39:58 2024 +0800 Update mini-backtrace版本到e0b1d90940 (DragonOS-Community#494) 内容: [https://github.com/DragonOS-Community/mini-backtrace/pull/1](https://github.com/DragonOS-Community/mini-backtrace/pull/1) Co-authored-by: Yao Zhao <[email protected]> commit c75ef4e Author: LoGin <[email protected]> Date: Thu Jan 18 00:09:36 2024 +0800 添加early ioremap支持 (DragonOS-Community#492) * 使用early io remap来映射早期的vesa缓冲区 commit d8e29bf Author: R0ronoa <[email protected]> Date: Wed Jan 17 23:57:49 2024 +0800 增加serio总线和相关trait (DragonOS-Community#488) * 新增serio总线和相关trait * 补充SerioDeviceManager和SerioDriverManager
chiichen
added a commit
to chiichen/DragonOS
that referenced
this pull request
Jan 22, 2024
commit 43ef2a0 Author: LoGin <[email protected]> Date: Sun Jan 21 18:45:07 2024 +0800 添加riscv64的github workflow (DragonOS-Community#499) * 添加riscv64的github workflow commit 7a29d4f Author: LoGin <[email protected]> Date: Sun Jan 21 15:38:12 2024 +0800 riscv64: 映射uefi systemtable,并完善了riscv64页表填写的部分内容 (DragonOS-Community#498) * 从fdt的chosen段获取几个需要的字段 * merge patch-early-ioremap * feature: 增加early io remap的fixmap功能 允许在内存管理初始化之前,使用fixmap功能,映射一些物理内存,并记录. * riscv64: 映射uefi systemtable,并完善了riscv64页表填写的部分内容 * 更新仓库网址 commit 3e3c631 Author: Chiichen <[email protected]> Date: Sun Jan 21 01:38:45 2024 +0800 fix: 修复了ps2和tty初始化顺序的错误 (DragonOS-Community#497) * 修复了ps2和tty初始化顺序的错误 commit 74ffde6 Author: LoGin <[email protected]> Date: Sun Jan 21 01:21:55 2024 +0800 feature: 增加early io remap的fixmap功能 (DragonOS-Community#495) 允许在内存管理初始化之前,使用fixmap功能,映射一些物理内存,并记录. commit 1f58c8f Author: LoGin <[email protected]> Date: Thu Jan 18 22:39:58 2024 +0800 Update mini-backtrace版本到e0b1d90940 (DragonOS-Community#494) 内容: [https://github.com/DragonOS-Community/mini-backtrace/pull/1](https://github.com/DragonOS-Community/mini-backtrace/pull/1) Co-authored-by: Yao Zhao <[email protected]> commit c75ef4e Author: LoGin <[email protected]> Date: Thu Jan 18 00:09:36 2024 +0800 添加early ioremap支持 (DragonOS-Community#492) * 使用early io remap来映射早期的vesa缓冲区 commit d8e29bf Author: R0ronoa <[email protected]> Date: Wed Jan 17 23:57:49 2024 +0800 增加serio总线和相关trait (DragonOS-Community#488) * 新增serio总线和相关trait * 补充SerioDeviceManager和SerioDriverManager
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.