Searched refs:A (Results 1 – 9 of 9) sorted by relevance
24 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 …]
6 pic.o: 8259A/8259A.c7 $(CC) $(CFLAGS) -c 8259A/8259A.c -o pic.o
17   当进程A想发送信号给进程B的时候,使用`kill(pid, signal)`接口进行发送。然后陷入内核的`sys_kill()`函数中进行处理。然后内核将会把信号加入目标进程…23 │ Process A: │
100   请注意,`SpinLock`支持的编译期检查并不是万能的。它目前无法在编译期检查出“双重加锁”问题。试看这样一个场景:函数A中,获得了锁。然后函数B中继续尝试加锁,那么就造成…104 - 如果函数B需要访问临界区内的数据,那么,函数B应当接收一个类型为`&SpinLockGuard`的参数,这个守卫由函数A获得。这样一来,函数B就能访问临界区内的数据。
38 ## 3. Q&A
140 - [skiftOS]([GitHub - skiftOS/skift: A hobby operating system built from scratch in modern C++. …
122 - [skiftOS]([GitHub - skiftOS/skift: A hobby operating system built from scratch in modern C++. …
265 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS276 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
557 pub unsafe fn kernel_page_flags<A: MemoryManagementArch>(virt: VirtAddr) -> PageFlags<A> { in kernel_page_flags() argument