1Building the UMP Device Driver for Linux 2---------------------------------------- 3 4Build the UMP Device Driver for Linux by running the following make command: 5 6KDIR=<kdir_path> CONFIG=<your_config> BUILD=<build_option> make 7 8where 9 kdir_path: Path to your Linux Kernel directory 10 your_config: Name of the sub-folder to find the required config.h file 11 ("arch-" will be prepended) 12 build_option: debug or release. Debug is default. 13 14The config.h contains following configuration parameters: 15 16ARCH_UMP_BACKEND_DEFAULT 17 0 specifies the dedicated memory allocator. 18 1 specifies the OS memory allocator. 19ARCH_UMP_MEMORY_ADDRESS_DEFAULT 20 This is only required for the dedicated memory allocator, and specifies 21 the physical start address of the memory block reserved for UMP. 22ARCH_UMP_MEMORY_SIZE_DEFAULT 23 This specified the size of the memory block reserved for UMP, or the 24 maximum limit for allocations from the OS. 25 26The result will be a ump.ko file, which can be loaded into the Linux kernel 27by using the insmod command. The driver can also be built as a part of the 28kernel itself. 29