As configured in my dotfiles.
start new:
tmux
start new with session name:
FROM centos:7 | |
ARG arg1 | |
ARG arg2 | |
ARG arg3 | |
RUN if [ "x$arg1" = "x" ] ; then echo arg1 not provided ; fi && \ | |
if [ "x$arg2" = "x" ] ; then echo arg2 not provided ; fi && \ | |
if [ "x$arg3" = "x" ] ; then echo arg3 not provided ; fi |
We are going to use buildroot to download, configure and compile the kernel. | |
First, download and uncompress buildroot: https://buildroot.org/download.html | |
Go to the directory and: | |
make qemu_x86_defconfig | |
make menuconfig |
As configured in my dotfiles.
start new:
tmux
start new with session name:
#include <linux/module.h> | |
#include <linux/kernel.h> | |
#include <linux/hrtimer.h> | |
#include <linux/ktime.h> | |
unsigned long timer_interval_ns = 1e6; | |
static struct hrtimer hr_timer; | |
enum hrtimer_restart timer_callback( struct hrtimer *timer_for_restart ) | |
{ |