status = efi_bs_call(get_memory_map, &tmp.map_size, NULL, &tmp.map_key, &tmp.desc_size, &tmp.desc_ver); 该函数通过get_memory_map这个efi的boot time service去获取内存映射的描述符表。至此我们算是从kernel层面清楚了efi runtime service调用所需内存上下文的设置。如果想了解uefi是怎么生成memory ...
= EFI_SUCCESS) return CMD_RET_FAILURE; ret = efi_get_memory_map(&map_size, memmap, NULL, NULL, NULL); } if (ret != EFI_SUCCESS) { efi_free_pool(memmap); return CMD_RET_FAILURE; } printf("Type Start%.*s End%.*s Attributes\n", EFI_PHYS_ADDR_WIDTH - 5, spc, EFI_PH...
{ EFI_MEMORY_WB_SHIFT, "write-back" }, { EFI_MEMORY_UCE_SHIFT, "uncached & exported" }, { EFI_MEMORY_WP_SHIFT, "write-protect" }, { EFI_MEMORY_RP_SHIFT, "read-protect" }, { EFI_MEMORY_XP_SHIFT, "execute-protect" },
#define EFI_MEMORY_WB ((u64)0x0000000000000008ULL) /* write-back */ #define EFI_MEMORY_UCE ((u64)0x0000000000000010ULL) /* uncached, exported */ #define EFI_MEMORY_WP ((u64)0x0000000000001000ULL) /* write-protect */ #define EFI_MEMORY_RP ((u64)0x0000000000002000ULL) /* read-pr...
Hackintosh 黑苹果长期维护机型 EFI 及安装教程整理 English Version:Hackintosh long-term maintenance model EFI and installation tutorial 今天采用关键词OPENCORE搜索的方式,采用最近更新排序,搜索了前10页的维护信息,再筛出未进入清单,但维护得不错得REPO,更新时间只是最近2天得,肯定又很多漏的,一一核对很费精力,re...
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464132333241324D412D4A442D460000 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.77.105.1 AirPortDriverBrcmNIC-1429) Bluetooth: Version 7.0.0f8, 3 services, 27 devices, 1...
/* * Reserve the memory associated with the TPM Event Log configuration table. */ int __init efi_tpm_eventlog_init(void) { struct linux_efi_tpm_eventlog *log_tbl; unsigned int tbl_size; // 如果发生以下原因之一,则这里会直接返回0. // - 内核不是通过EFI引导协议启动的 // - SHA1 ...
EDIT 1: I found a solution to disable Unlock CFG (MSR) since F9. I read it"s better for Aptiomemoryfix EDIT 2:CSM disabled or enabled, same big Aorus splash. I can't remember the solution. I search. let me know the solution for the Aorus splash buddy. ...
SSDT-SBRG.aml (Correcting EC, RTC Memory & IRQ Conflicts) SSDT-SBUS-MCHC.aml (Correct SMBus) SSDT-XHC.aml (USB rename's) Kexts Lilu.kext VirtualSMC.kext WhateverGreen.kext AppleALC.kext SmallTreeIntel82576.kext AMDRyzenCPUPowerManagement.kext ...
Hackintosh long-term maintenance model EFI and installation tutorial 大家有更好的思路也可以提出来,一起完成,虽然我不确定现在继续做这些的意义还有多少。 更新日志 更新日期: 2024年3月4日 新增机型: FEVM FN60G minisforum UM480XT minisforum UM560XT ...