mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 04:56:30 +00:00
riscv64: 添加flush tlb的ipi (#636)
* riscv64: 添加flush tlb的ipi * update triagebot
This commit is contained in:
@ -6,7 +6,6 @@ use core::{
|
||||
|
||||
use crate::{
|
||||
arch::{ipc::signal::SigSet, syscall::nr::*},
|
||||
driver::base::device::device_number::DeviceNumber,
|
||||
filesystem::vfs::syscall::PosixStatx,
|
||||
libs::{futex::constant::FutexFlag, rand::GRandFlags},
|
||||
mm::syscall::MremapFlags,
|
||||
@ -21,7 +20,6 @@ use crate::{
|
||||
|
||||
use num_traits::FromPrimitive;
|
||||
use system_error::SystemError;
|
||||
use uefi::proto::debug;
|
||||
|
||||
use crate::{
|
||||
arch::{cpu::cpu_reset, interrupt::TrapFrame, MMArch},
|
||||
@ -99,6 +97,7 @@ impl Syscall {
|
||||
Self::open(path, flags, mode, true)
|
||||
}
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
SYS_RENAME => {
|
||||
let oldname: *const u8 = args[0] as *const u8;
|
||||
let newname: *const u8 = args[1] as *const u8;
|
||||
@ -111,6 +110,7 @@ impl Syscall {
|
||||
)
|
||||
}
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
SYS_RENAMEAT => {
|
||||
let oldfd = args[0] as i32;
|
||||
let oldname: *const u8 = args[1] as *const u8;
|
||||
@ -637,6 +637,8 @@ impl Syscall {
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
SYS_MKNOD => {
|
||||
use crate::driver::base::device::device_number::DeviceNumber;
|
||||
|
||||
let path = args[0];
|
||||
let flags = args[1];
|
||||
let dev_t = args[2];
|
||||
@ -715,6 +717,7 @@ impl Syscall {
|
||||
Self::do_statx(fd, path, flags, mask, kstat)
|
||||
}
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
SYS_EPOLL_CREATE => Self::epoll_create(args[0] as i32),
|
||||
SYS_EPOLL_CREATE1 => Self::epoll_create1(args[0]),
|
||||
|
||||
@ -725,6 +728,7 @@ impl Syscall {
|
||||
VirtAddr::new(args[3]),
|
||||
),
|
||||
|
||||
#[cfg(target_arch = "x86_64")]
|
||||
SYS_EPOLL_WAIT => Self::epoll_wait(
|
||||
args[0] as i32,
|
||||
VirtAddr::new(args[1]),
|
||||
|
Reference in New Issue
Block a user