1 Building the UMP Device Driver for Linux
2 ----------------------------------------
4 Build the UMP Device Driver for Linux by running the following make command:
6 KDIR=<kdir_path> CONFIG=<your_config> BUILD=<build_option> make
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.
14 The config.h contains following configuration parameters:
16 ARCH_UMP_BACKEND_DEFAULT
17 0 specifies the dedicated memory allocator.
18 1 specifies the OS memory allocator.
19 ARCH_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.
22 ARCH_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.
26 The result will be a ump.ko file, which can be loaded into the Linux kernel
27 by using the insmod command. The driver can also be built as a part of the