函数逻辑报告 |
Source Code:arch\x86\kernel\cpu\mtrr\mtrr.c |
Create Date:2022-07-27 09:05:16 |
Last Modify:2022-05-18 17:35:08 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Returns non-zero if we have the write-combining memory type
函数原型:static int have_wrcomb(void)
返回类型:int
参数:无
94 | dev等于pci_get_class(PCI_CLASS_BRIDGE_HOST << 8, NULL) |
95 | 如果(dev != NULL)则 |
101 | 如果vendor恒等于PCI_VENDOR_ID_SERVERWORKS且device恒等于PCI_DEVICE_ID_SERVERWORKS_LE且revision小于等于5则 |
104 | 打印信息("Serverworks LE rev < 6 detected. Write-combining disabled.\n") |
105 | pci_dev_put(dev) |
106 | 返回:0 |
118 | pci_dev_put(dev) |
120 | 返回:如果have_wrcomb则have_wrcomb()否则0 |
名称 | 描述 |
---|---|
mtrr_add_page | mtrr_add_page - Add a memory type region*@base: Physical base address of region in pages (in units of 4 kB!)*@size: Physical size of region in pages (4 kB)*@type: Type of MTRR desired*@increment: If this is true do usage counting on the region* Memory |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |