摘要: 1. 安装homebrew $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2. 安装python3 $ brew install python3 阅读全文
posted @ 2019-08-09 23:34 Jello 阅读(418) 评论(0) 推荐(0)
摘要: 1. 内核版本 4.19 2. 在arch/arm/kernel/sleep.S中实现如下: 阅读全文
posted @ 2019-08-09 18:19 Jello 阅读(671) 评论(0) 推荐(0)
摘要: 答: 执行以下命令: # dmesg|grep -i acpi |grep -i supports (S3表示支持深度睡眠) ACPI: (supports S0 S1 S3 S4 S5) 阅读全文
posted @ 2019-08-09 17:32 Jello 阅读(507) 评论(0) 推荐(0)
摘要: 1. #if IS_ENABLED(CONFIG_XXX) 1.1 IS_ENABLED的定义如下: /* * IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm', * 0 otherwise. */ #d 阅读全文
posted @ 2019-08-09 12:12 Jello 阅读(3349) 评论(0) 推荐(0)