int libmem_register_ram_driver | ( | libmem_driver_handle_t * | h,
|  | uint8_t * | start,
|  | size_t | size
| ) |
  | Register a simple LIBMEM driver that directly accesses RAM. Parameters:
  | h | A pointer to the LIBMEM handle structure to use for this LIBMEM driver.
  | start | The start address of the RAM.
  | size | The size of the RAM.
Returns: The LIBMEM status result. Example:
        libmem_driver_handle_t ram1_handle;
        uint8_t *ram1_start = (uint8_t *)0x10000000;
        const size_t ram1_size = 1024;
        int res;

        res = libmem_register_ram_driver(&ram_handle, ram1_start, ram1_size);

        if (res == LIBMEM_STATUS_SUCCESS)
          printf("libmem_register_ram_driver : success\n");
        else
          printf("libmem_register_ram_driver : failed (%d)\n", res);