readme.txt 1.1 KB

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