SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
www/iridium/patches/patch-base_system_sys_info_h
Normal file
21
www/iridium/patches/patch-base_system_sys_info_h
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: base/system/sys_info.h
|
||||
--- base/system/sys_info.h.orig
|
||||
+++ base/system/sys_info.h
|
||||
@@ -258,6 +258,8 @@ class BASE_EXPORT SysInfo {
|
||||
static void SetIsCpuSecurityMitigationsEnabled(bool is_enabled);
|
||||
#endif
|
||||
|
||||
+ static uint64_t MaxSharedMemorySize();
|
||||
+
|
||||
private:
|
||||
friend class test::ScopedAmountOfPhysicalMemoryOverride;
|
||||
FRIEND_TEST_ALL_PREFIXES(SysInfoTest, AmountOfAvailablePhysicalMemory);
|
||||
@@ -270,7 +272,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
|
Loading…
Add table
Add a link
Reference in a new issue