summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/os/os_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/os/os_misc.h')
-rw-r--r--src/gallium/auxiliary/os/os_misc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/os/os_misc.h b/src/gallium/auxiliary/os/os_misc.h
index 582931fe96a..403c8ee6ec5 100644
--- a/src/gallium/auxiliary/os/os_misc.h
+++ b/src/gallium/auxiliary/os/os_misc.h
@@ -87,6 +87,13 @@ const char *
os_get_option(const char *name);
+/*
+ * Get the total amount of physical memory available on the system.
+ */
+bool
+os_get_total_physical_memory(uint64_t *size);
+
+
#ifdef __cplusplus
}
#endif