anv: Stop storing the shader constant data side-band
[mesa.git] / src / util / os_misc.h
index 8ac3eeff3773aa4941c97abd16917c01815819aa..60811faf5a4658877fb8fcd502d35762da4ab6b2 100644 (file)
 #ifndef _OS_MISC_H_
 #define _OS_MISC_H_
 
+#include <stdint.h>
+#include <stdbool.h>
 
 #include "detect_os.h"
-#include "pipe/p_compiler.h"
 
 
 #if DETECT_OS_UNIX
@@ -94,6 +95,12 @@ os_get_option(const char *name);
 bool
 os_get_total_physical_memory(uint64_t *size);
 
+/*
+ * Amount of physical memory available to a process
+ */
+bool
+os_get_available_system_memory(uint64_t *size);
+
 
 #ifdef __cplusplus
 }