• Home
Name Date Size #Lines LOC

..--

arch/12-May-2024-256

arch-default/12-May-2024-256

arch-pb-virtex5/12-May-2024-206

common/12-May-2024-634351

linux/12-May-2024-318111

KbuildD12-May-20243.4 KiB9377

KconfigD12-May-2024394 1814

MakefileD12-May-20241.7 KiB6838

Makefile.commonD12-May-20241.1 KiB217

readme.txtD12-May-20241.1 KiB2922

readme.txt

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