3 Star 1 Fork 1

mirrors_acidanthera / VirtualSMC

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

VirtualSMC

Build Status Scan Status

高级的 Apple SMC 核心模拟。 需要 Lilu 作为依赖以正常工作。

English
简体中文 (当前语言)

特点

  • 支持 64 位的 macOS 10.6 以及更新系统 (推荐使用 10.9 及以后的系统)
  • 实现 MMIO 协议以及适配现代版本 macOS 的中断响应机制
  • 正确提交键值属性以及它们的读写保护
  • 允许根据机器型号动态调节使用不同代的 SMC
  • 支持通过插件添加可扩展的传感器
  • 支持启动参数 smcdebug=XX (10.9+)
  • 替换查找到的硬件 SMC (你需要刷写特定的固件来完全禁用 SMC)

启动代码

  • 添加 -vsmcdbg 以开启 debug 输出 (需要 DEBUG 版本支持)。
  • 添加 -vsmcoff 以禁用所有 Lilu 增强。
  • 添加 -vsmcbeta 以在不支持的系统中启用 Lilu 增强 (11 及以下版本为默认开启)。
  • 添加 -vsmcrpt 以报告缺失的的 SMC 密钥到系统日志中。
  • 添加 -vsmccomp 以优先使用硬件 SMC(如果有)
  • 添加 vsmcgen=X 以强制暴露 X-gen SMC 设备 (支持 1 和 2 代)。
  • 添加 vsmchbkp=X 以设置 HBKP dumping mode (0 - 关闭, 1 - 普通, 2 - 没有加密)。
  • 添加 vsmcslvl=X 以设置 serialisation level 的值 (0 - 关闭, 1 - 普通, 2 - 包含敏感数据 (默认))。
  • 添加 smcdebug=0xff 以启用 AppleSMC debug 信息输出。
  • 添加 watchdog=0 以禁用看门狗 (WatchDog) 倒计时 (if you get accidental reboots).

感谢

  • Apple for macOS
  • netkas for the original idea of creating a software SMC emulator
  • CupertinoNet for reversing most of MMIO protocol and SMC headers
  • Alex Ionescu for the initial reverse of SMC firmware
  • 07151129 for co-devoloping VirtualSMC and invaluable help during the research
  • lvs1974 for developing laptop sensor support
  • usr-sse2 for developing laptop sensor support
  • joedmru for developing Super I/O chips support
  • theopolis for smc-fuzzer tool
  • kokke for tiny-AES-c
  • vit9696 for Lilu.kext and this software
  • 非常感谢所有参与到 Apple SMC 项目中探索的贡献者和研究者!
Copyright (c) 2017, vit9696 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

暂无描述 展开 收起
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/mirrors_acidanthera/VirtualSMC.git
git@gitee.com:mirrors_acidanthera/VirtualSMC.git
mirrors_acidanthera
VirtualSMC
VirtualSMC
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891