mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Split userland/arch/<arch>/c/ into inline_asm and intrinsics, and move programs that don't match either up.
13 lines
256 B
C
13 lines
256 B
C
/* https://github.com/cirosantilli/linux-kernel-module-cheat#ring0 */
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include <lkmc/ring0.h>
|
|
|
|
int main(void) {
|
|
LkmcRing0Regs ring0_regs;
|
|
lkmc_ring0_get_control_regs(&ring0_regs);
|
|
return EXIT_SUCCESS;
|
|
}
|