Skip to content

Instantly share code, notes, and snippets.

Avatar

Rostislav Lisovy lisovy

View GitHub Profile
View MTRR.c
/*
* Inpired by https://www.opensource.apple.com/source/xnu/xnu-1456.1.26/osfmk/i386/mtrr.c
*/
#define MTRR_TYPE_UC 0x0
#define MTRR_TYPE_WC 0x1
#define MTRR_TYPE_WT 0x4
#define MTRR_TYPE_WP 0x5
#define MTRR_TYPE_WB 0x6
View 802.11p-on-linux
Clone and compile the Linux kernel
==================================
# Use some extra directory for all the components needed
cd c2c/
# Clone the repository (this will take a *few minutes*)
c2c$ git clone https://github.com/CTU-IIG/802.11p-linux.git
c2c$ cd 802.11p-linux
# Checkout particular branch