mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-19 09:06:32 +00:00
增加内存分配日志监视器 (#424)
* 完成内存日志监视,并输出日志到文件 * 修复进程退出后,procfs查看进程status文件会崩溃的问题 * 修复signal唤醒进程的判断条件问题
This commit is contained in:
@ -26,7 +26,7 @@ use crate::{
|
||||
use super::{super::device::DeviceState, platform_bus, platform_bus_device, CompatibleTable};
|
||||
|
||||
/// 平台设备id分配器
|
||||
static PLATFORM_DEVID_IDA: IdAllocator = IdAllocator::new(i32::MAX as usize);
|
||||
static PLATFORM_DEVID_IDA: IdAllocator = IdAllocator::new(0, i32::MAX as usize);
|
||||
|
||||
#[inline(always)]
|
||||
pub fn platform_device_manager() -> &'static PlatformDeviceManager {
|
||||
|
@ -2,7 +2,7 @@ use core::intrinsics::unlikely;
|
||||
|
||||
use alloc::string::String;
|
||||
|
||||
use thingbuf::mpsc::{
|
||||
use kdepends::thingbuf::mpsc::{
|
||||
self,
|
||||
errors::{TryRecvError, TrySendError},
|
||||
};
|
||||
|
Reference in New Issue
Block a user