21 lines
747 B
Text
21 lines
747 B
Text
Index: base/system/sys_info.h
|
|
--- base/system/sys_info.h.orig
|
|
+++ base/system/sys_info.h
|
|
@@ -264,6 +264,8 @@ class BASE_EXPORT SysInfo {
|
|
static void ResetCpuSecurityMitigationsEnabledForTesting();
|
|
#endif
|
|
|
|
+ static uint64_t MaxSharedMemorySize();
|
|
+
|
|
private:
|
|
friend class test::ScopedAmountOfPhysicalMemoryOverride;
|
|
FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory);
|
|
@@ -276,7 +278,7 @@ class BASE_EXPORT SysInfo {
|
|
static HardwareInfo GetHardwareInfoSync();
|
|
|
|
#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || \
|
|
- BUILDFLAG(IS_AIX)
|
|
+ BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
|
|
static uint64_t AmountOfAvailablePhysicalMemory(
|
|
const SystemMemoryInfoKB& meminfo);
|
|
#endif
|