Home
last modified time | relevance | path

Searched refs:A (Results 1 – 9 of 9) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dbuddy.rs24 pub struct PageList<A> {
29 phantom: PhantomData<A>,
32 impl<A> Clone for PageList<A> {
42 impl<A> PageList<A> {
65 pub struct BuddyAllocator<A> {
68 phantom: PhantomData<A>,
71 impl<A: MemoryManagementArch> BuddyAllocator<A> {
74 (A::PAGE_SIZE - mem::size_of::<PageList<A>>()) / mem::size_of::<PhysAddr>();
76 pub unsafe fn new(mut bump_allocator: BumpAllocator<A>) -> Option<Self> { in new()
83 (((initial_free_pages.data() * A::PAGE_SIZE) >> (MAX_ORDER - 1)) + Self::BUDDY_ENTRIES in new()
[all …]
/DragonOS-0.1.8/kernel/src/driver/interrupt/
DMakefile6 pic.o: 8259A/8259A.c
7 $(CC) $(CFLAGS) -c 8259A/8259A.c -o pic.o
/DragonOS-0.1.8/docs/kernel/ipc/
Dsignal.md17 &emsp;&emsp;当进程A想发送信号给进程B的时候,使用`kill(pid, signal)`接口进行发送。然后陷入内核的`sys_kill()`函数中进行处理。然后内核将会把信号加入目标进程…
23 │ Process A: │
/DragonOS-0.1.8/docs/kernel/locking/
Dspinlock.md100 &emsp;&emsp;请注意,`SpinLock`支持的编译期检查并不是万能的。它目前无法在编译期检查出“双重加锁”问题。试看这样一个场景:函数A中,获得了锁。然后函数B中继续尝试加锁,那么就造成…
104 - 如果函数B需要访问临界区内的数据,那么,函数B应当接收一个类型为`&SpinLockGuard`的参数,这个守卫由函数A获得。这样一来,函数B就能访问临界区内的数据。
/DragonOS-0.1.8/docs/kernel/sched/
Drt.md38 ## 3. Q&A
/DragonOS-0.1.8/
DREADME.md140 - [skiftOS]([GitHub - skiftOS/skift: �� A hobby operating system built from scratch in modern C++. …
DREADME_EN.md122 - [skiftOS]([GitHub - skiftOS/skift: �� A hobby operating system built from scratch in modern C++. …
DLICENSE265 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
276 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs557 pub unsafe fn kernel_page_flags<A: MemoryManagementArch>(virt: VirtAddr) -> PageFlags<A> { in kernel_page_flags() argument