pgalloc-2level.h

来自「讲述linux的初始化过程」· C头文件 代码 · 共 24 行

H
24
字号
#ifndef __ASM_SH_PGALLOC_2LEVEL_H#define __ASM_SH_PGALLOC_2LEVEL_H/* * traditional two-level paging, page table allocation routines: */static __inline__ pmd_t *get_pmd_fast(void){	return (pmd_t *)0;}static __inline__ void free_pmd_fast(pmd_t *pmd) { }static __inline__ void free_pmd_slow(pmd_t *pmd) { }static __inline__ pmd_t * pmd_alloc(pgd_t *pgd, unsigned long address){	if (!pgd)		BUG();	return (pmd_t *) pgd;}#endif /* __ASM_SH_PGALLOC_2LEVEL_H */

⌨️ 快捷键说明

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