[webkit-changes] [WebKit/WebKit] a01808: Basic support for the Haiku operating system

Adrien Destugues noreply at github.com
Fri Sep 20 09:21:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a01808f893e21e26ba99eafe6b0cdcf509683e7e
      https://github.com/WebKit/WebKit/commit/a01808f893e21e26ba99eafe6b0cdcf509683e7e
  Author: Adrien Destugues <adrien.destugues at opensource.viveris.fr>
  Date:   2024-09-20 (Fri, 20 Sep 2024)

  Changed paths:
    M Source/WTF/wtf/InlineASM.h
    M Source/WTF/wtf/MemoryPressureHandler.cpp
    M Source/WTF/wtf/MemoryPressureHandler.h
    M Source/WTF/wtf/NumberOfCores.cpp
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WTF/wtf/PlatformHave.h
    M Source/WTF/wtf/PlatformLegacy.h
    M Source/WTF/wtf/PlatformOS.h
    M Source/WTF/wtf/RawHex.h
    M Source/WTF/wtf/posix/OSAllocatorPOSIX.cpp

  Log Message:
  -----------
  Basic support for the Haiku operating system

https://bugs.webkit.org/show_bug.cgi?id=220690

Reviewed by Adrian Perez de Castro.

Trivial changes to add Haiku as a known operating system in places where
it uses already existing code in WTF. This will make maintenance of the
Haiku port of WebKit easier by avoiding conflicts whenever another OS is
added or removed. It will also benefit other ports of WebKit (for
example GTK WebKit) when compiled on Haiku, as they also need these
changes.

* Source/WTF/wtf/InlineASM.h:
* Source/WTF/wtf/MemoryPressureHandler.cpp:
(WTF::MemoryPressureHandler::MemoryPressureHandler):
* Source/WTF/wtf/MemoryPressureHandler.h:
* Source/WTF/wtf/NumberOfCores.cpp:
(WTF::numberOfProcessorCores):
* Source/WTF/wtf/PlatformEnable.h:
* Source/WTF/wtf/PlatformHave.h:
* Source/WTF/wtf/PlatformLegacy.h:
* Source/WTF/wtf/PlatformOS.h:
* Source/WTF/wtf/RawHex.h:
* Source/WTF/wtf/posix/OSAllocatorPOSIX.cpp:
(WTF::OSAllocator::tryReserveUncommitted):
(WTF::OSAllocator::commit):
(WTF::OSAllocator::decommit):

Canonical link: https://commits.webkit.org/283988@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list