diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/nvmap.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/linux/nvmap.h b/include/linux/nvmap.h index 290fa8484..11bfc9155 100644 --- a/include/linux/nvmap.h +++ b/include/linux/nvmap.h | |||
| @@ -3,7 +3,7 @@ | |||
| 3 | * | 3 | * |
| 4 | * structure declarations for nvmem and nvmap user-space ioctls | 4 | * structure declarations for nvmem and nvmap user-space ioctls |
| 5 | * | 5 | * |
| 6 | * Copyright (c) 2009-2014, NVIDIA CORPORATION. All rights reserved. | 6 | * Copyright (c) 2009-2015, NVIDIA CORPORATION. All rights reserved. |
| 7 | * | 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by | 9 | * it under the terms of the GNU General Public License as published by |
| @@ -235,6 +235,18 @@ struct nvmap_cache_op_list { | |||
| 235 | __s32 op; /* wb/wb_inv/inv */ | 235 | __s32 op; /* wb/wb_inv/inv */ |
| 236 | }; | 236 | }; |
| 237 | 237 | ||
| 238 | struct nvmap_debugfs_handles_header { | ||
| 239 | __u8 version; | ||
| 240 | }; | ||
| 241 | |||
| 242 | struct nvmap_debugfs_handles_entry { | ||
| 243 | __u64 base; | ||
| 244 | __u64 size; | ||
| 245 | __u32 flags; | ||
| 246 | __u32 share_count; | ||
| 247 | __u64 mapped_size; | ||
| 248 | }; | ||
| 249 | |||
| 238 | #define NVMAP_IOC_MAGIC 'N' | 250 | #define NVMAP_IOC_MAGIC 'N' |
| 239 | 251 | ||
| 240 | /* Creates a new memory handle. On input, the argument is the size of the new | 252 | /* Creates a new memory handle. On input, the argument is the size of the new |
