-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
怎么在开发模块时获取apatch中用户输入的参数呢 #10
Comments
这个demo就是如何获取以及使用用户输入的参数。 |
好的好的,感谢大佬 |
您好佬,我在使用kmalloc函数时遇到了一些问题(char** paths = kmalloc(num_paths * sizeof(char), GFP_KERNEL);),但是我导入这个头文件时#include <linux/gfp.h>,依然报错,我点进这个头文件看了一下,发现里面的内容都被注释了。 #include <common.h> /* Plain integer GFP bitmasks. Do not use this directly. */ // static inline get_gfp_atomic() // } // #define __GFP_RECLAIM ((__force gfp_t)(__GFP_DIRECT_RECLAIM | __GFP_KSWAPD_RECLAIM)) // #define GFP_ATOMIC (__GFP_HIGH | __GFP_ATOMIC | __GFP_KSWAPD_RECLAIM) // #define GFP_KERNEL_ACCOUNT (GFP_KERNEL | __GFP_ACCOUNT) /* Convert GFP flags to their corresponding migrate type */ #endif 这个该如何解决呢,怎么使用kmalloc函数呀 |
如题
The text was updated successfully, but these errors were encountered: