# Linux Kernel Module Cheat
The perfect emulation setup to study and develop the <<linux-kernel>> v5.9.2, kernel modules, <<qemu-buildroot-setup,QEMU>>, <<gem5-buildroot-setup,gem5>> and x86_64, ARMv7 and ARMv8 <<userland-assembly,userland>> and <<baremetal-setup,baremetal>> assembly, <<c,ANSI C>>, <<cpp,C++>> and <<posix,POSIX>>. <<gdb>> and <<kgdb>> just work. Powered by <<about-the-qemu-buildroot-setup,Buildroot>> and <<about-the-baremetal-setup,crosstool-NG>>. Highly automated. Thoroughly documented. Automated <<test-this-repo,tests>>.

#### 17.3.2. Kernel command line parameters definition points

There are two methods:

- `__setup` as in:

      __setup("console=", console_setup);

- `core_param` as in:

      core_param(panic, panic_timeout, int, 0644);

`core_param` suggests how they are different:

    /**
     * core_param - define a historical core kernel parameter.

    ...

     * core_param is just like module_param(), but cannot be modular and
     * doesn't add a prefix (such as "printk.").  This is for compatibility
     * with __setup(), and it makes sense as truly core parameters aren't
     * tied to the particular file they're in.
     */