⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sparsemem_64.h

📁 linux 内核源代码
💻 H
字号:
#ifndef _ASM_X86_64_SPARSEMEM_H#define _ASM_X86_64_SPARSEMEM_H 1#ifdef CONFIG_SPARSEMEM/* * generic non-linear memory support: * * 1) we will not split memory into more chunks than will fit into the flags *    field of the struct page * * SECTION_SIZE_BITS		2^n: size of each section * MAX_PHYSADDR_BITS		2^n: max size of physical address space * MAX_PHYSMEM_BITS		2^n: how much memory we can have in that space * */#define SECTION_SIZE_BITS	27 /* matt - 128 is convenient right now */#define MAX_PHYSADDR_BITS	40#define MAX_PHYSMEM_BITS	40extern int early_pfn_to_nid(unsigned long pfn);#endif /* CONFIG_SPARSEMEM */#endif /* _ASM_X86_64_SPARSEMEM_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -