这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
jaysnote:kernel_compile [2019/04/26 17:58] jaylee |
jaysnote:kernel_compile [2020/01/16 19:45] lijie |
||
---|---|---|---|
行 1: | 行 1: | ||
< | < | ||
- | # GAC-350 | + | # Kernel Compile |
## 命令 | ## 命令 | ||
行 113: | 行 113: | ||
```c | ```c | ||
// | // | ||
- | |||
static char *user_mac | static char *user_mac | ||
static bool user_flag = true; | static bool user_flag = true; | ||
- | |||
module_param(user_mac, | module_param(user_mac, | ||
``` | ``` | ||
行 123: | 行 121: | ||
// | // | ||
- | #include " | + | #include " |
//generate mac by hash cpuid | //generate mac by hash cpuid | ||
void hash_gen_mac(u8 *mac){ | void hash_gen_mac(u8 *mac){ |