Commit Graph
10600 Commits
Author SHA1 Message Date
Augustin Cavalier c12c2d4488 kernel/thread: Fix behavior of {get|set}_thread_affinity.
* Handle threads without masks: this means they can run on any CPU.

 * Return only enabled CPUs from get_thread_affinity.

 * Clear the user mask's extra bits.

 * Allow masks with more CPUs set than are active, same as Linux,
   but disallow masks with no intersection with the active CPUs.

 * If setting to all enabled CPUs, clear the mask, so that if
   more CPUs are enabled in the future, this can run on them too.

 * Add permissions checks.

Fixes #20251.
(cherry picked from commit f46b3483057b149179dda7abdcc2dde38994a8cc)

Change-Id: Ib8649cb0a252fc8d9cfca691c2e03748561db741
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11529
Reviewed-by: waddlesplash <[email protected]>
2026-08-13 18:57:26 +00:00
Augustin Cavalier 37d9955590 kernel: Make reschedule_disabled a uint8 instead of a boolean.
Allows some recursion.

Change-Id: I15cd36dd01dd59480e60c3106c4a741ae6284c80
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11414
Reviewed-by: waddlesplash <[email protected]>
(cherry picked from commit 19e3dda0f15d6183908132dd7385b3a6ca781c27)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11417
2026-08-04 16:19:07 +00:00
Jérôme Duval d653556ecd uchar/wchar/wctype: reorganize definitions
uchar.h: only define char32_t and char16_t before c++11

found while testing libc++
https://en.cppreference.com/cpp/keyword/char16_t
https://en.cppreference.com/cpp/keyword/char32_t

add _wint_t.h and _mbstate_t.h
Change-Id: Ia5529cc9aa7316e091297f9842c3007a855f813e
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11346
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
(cherry picked from commit bf1e1da47d6181dbf8122bc52801c08968e1a4ed)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11374
Reviewed-by: waddlesplash <[email protected]>
2026-07-28 16:40:41 +00:00
John Scipione 064878d320 Tracker: No Disks drop down on file panels.
Get rid of AddDisksIconToMenu() method, use AddItemToDirMenu() instead
which does the right thing and works for Disks.

Change-Id: Ib6d5976f6edde03bdb5086118d6c3e66c362c82c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11277
Tested-by: Commit checker robot <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: John Scipione <[email protected]>
(cherry picked from commit bc00558b5a7829e032d572eac0f1943f1e691214)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11350
2026-07-28 16:07:57 +00:00
PulkoMandy b812cfe777 cpu_type: cleanup Intel CPU strings some more
- remove "processor"
- remove repeated spaces
- clean up the "brand" ID as well

Should fix #20191.

Change-Id: Iaadfbf2d3ae6fd2555607e2ed05833ab570079de
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11341
Reviewed-by: waddlesplash <[email protected]>
(cherry picked from commit 8a8ae453bb124a63d33677fb4530d07ad8cd6df7)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11342
2026-07-23 17:22:25 +00:00
Augustin Cavalier edc2131db9 kernel/vm: Always use uint64 for memory amounts.
We want to be able to support more than 4GB of swap even on 32-bit.

Change-Id: I52c3aa8c0b77bbbd60a9b9ac37a4a7ad254aa201
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11335
Reviewed-by: waddlesplash <[email protected]>
(cherry picked from commit e4c6bf453d4be138dbc8dd81a687c548cec6afdc)
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11336
2026-07-23 16:53:17 +00:00
Augustin Cavalier 7dc7df27e9 x86: Make "Disable BIOS calls" boot option actually work.
It was a complete no-op before. Now, when enabled, BIOS calls
won't be done past the bootloader, and the Framebuffer driver
will be used instead of VESA.
(cherry picked from commit 7f12208162a5fc676f7a03e050f7671919f4fb12)

Change-Id: Id7670cc060ab5273411222e27467a6dfdbbb9e7f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11313
Reviewed-by: waddlesplash <[email protected]>
2026-07-22 02:31:43 +00:00
Augustin Cavalier bb98e98305 safemode_defs: Sort and organize.
No functional change. Reasonably we should have architecture-specific
headers for some of these, but that can wait.
(cherry picked from commit 450728b4b717b3ea09fb2145daf2e6a24874c6de)

Change-Id: I887d37a54b44e127e4d1fe46675bf57bc2a392dc
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11312
Reviewed-by: waddlesplash <[email protected]>
2026-07-22 02:31:04 +00:00
Augustin Cavalier 86e70e9a62 Versioning: This will be R1/beta6. 2026-07-18 21:08:43 -04:00
Augustin Cavalier 618e42b86d Versioning: Add BETA_6 and PRE_BETA_7 version constants.
* PRE_BETA_7 is now the default in master.
2026-07-18 21:07:28 -04:00
Augustin Cavalier 3bfaa91290 kernel/vm: Per-KDiskDevice modified queues and page writers.
This solves an old TODO, that the page writer could potentially cause
deadlocks when writing pages of different devices back at once. It's
also necessary after the previous change, as otherwise simultaneous
writes to disks with different write speeds would cause the quota
computations to be fluctuating and inconsistent.

Change-Id: I1c485f66625ea9013f17ab4fee007d7d58afd2ea
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8619
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-07-18 18:51:43 +00:00
Augustin Cavalier 22b415d0c7 kernel/vm: Make vm_page::physical_page_number const.
For safety.
2026-07-17 16:55:42 -04:00
Kevin Adams 38814666ba cpu_type.h: Refinement to CPU strings.
The AMD CPU string logic was updated to add a condition to correctly
identify the AMD Athlon 64 X2.

Both Intel and AMD logic sections were cleaned to remove hardcoded
values that can be provided by the CPU.

Intel logic was cleaned up even more based on what the Intel SDM states
should be used for CPU identification. First use the CPU String if
returned, else use the CPU Brand, else use CPU model/family.

https://software.intel.com/content/dam/www/public/us/en/documents/manuals/64-ia-32-architectures-software-developer-vol-1-manual.pdf

Tested as much as I could in QEMU since I don't have 32bit hardware.

Fixes #4644 and #9262

Change-Id: Iaae0bae81b0691dd29865b33727da8d7b0d5a069
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11061
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-07-16 14:37:05 +00:00
Máximo Castañeda 28dfca3e15 Fix catalog errors
- BAboutWindow: the extra info comes from the app, we can't magically
  translate it here. This adds a new translatable string for Workspaces.
  Other apps (WebPositive and a few outside this repo) pass either
  names, versions, license text or already translated strings.
- Tracker:
  - Icon size selection (eg. 32 × 32) was incorrectly marked and is now
    translatable.
  - Variables incorrectly marked for collection.
  - Two strings got the wrong context, one of which should probably not
    be shown to the user anyway.
- GLInfo: double translation of an already translated string.
- Terminal: collection of variables, but it is all dead code, a leftover
  from an older change.
- Notification prefs: translation of variables, which on top of that
  contain numbers.
- Network prefs, Printers prefs, Cortex, HaikuDepot: translation of
  variables. The values are already marked for collection.
- Devices: translation of variables. This just makes the collection
  process happy, but the app needs a deeper look. Some of the strings
  that are translated here come already translated, some don't and may
  not even be marked for collection, and they seem to be used as key
  value pairs in a public map.

Change-Id: I248f364eaa788cc64ed59b118cfee101b9c56467
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11262
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-07-16 14:34:27 +00:00
Augustin Cavalier f03c1740a5 kqueue: Add support for Haiku-specific object types.
Apple Darwin also extends kqueue to support other object types,
like Mach ports, so we might as well do the same for Haiku (Be)
object types.

Fixes #19974.
2026-07-15 20:01:11 -04:00
vighnesh-sawant 94deadca17 Bluetooth: Refactor l2cap into two protocols l2cap and bluetooth
This commits splits the address handling into bluetooth protocol and
does the rest in l2cap. This is to allow for a different struct for sco
and l2cap.

Change-Id: I4c577691118613cd3be75eb7ef191fd2f07d742d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11181
Reviewed-by: waddlesplash <[email protected]>
2026-07-15 21:21:12 +00:00
mohammedrattia 91994efedd bluetooth: refactor in remote devices handling
- adding persistent link key storage to avoid re-authentications
- saving important information about remote devices to make it survive reboots
- making all bluetooth status variables uint8 like it is in the command definitions

Change-Id: I8956fb356ee734b9fa0ae9704624f6e5fef39e55
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11203
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-07-15 21:08:28 +00:00
Augustin Cavalier 53630a31a0 kqueue: Implement EV_RECEIPT.
Tested with a modified FreeBSD test.

Also fix EVFILT_READ + EVFILT_WRITE failing to select only returning
one error, and not two as it's supposed to.
2026-07-09 15:36:05 -04:00
mohammedrattia af619799ef bluetooth: connection handling refactor
- Introduced cancel connection feature in bluetooth preferences
- Moved the connection handling logic into LocalDeviceImpl
- Made a watchers list to send notices to all concerned applications

Change-Id: Iba87caff68d1b9640fa8d901059daa7a624531f5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11171
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-07-09 16:36:59 +00:00
vighnesh-sawant 95844c4f15 Bluetooth: Add hooks for SCO and HCI commands
Change-Id: Ib8ec5c7a7dc6245c4f69c7b2d4596bd5aca9b493
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11146
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-07-07 04:17:44 +00:00
Augustin Cavalier 40c254f71c kernel/locks: Allow passing const rw_locks to ASSERT_READ_LOCKED_RW_LOCK. 2026-06-18 18:06:09 -04:00
Sam Roberts dad765a43b arm64: Track per-cpu MPIDR in arch_cpu_info
Apple's interrupt controller needs to know the MPIDR of the
CPU you want to send an ICI to

Change-Id: I81d1c25d5977140aaa4349fa83b7235e6a6a6964
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11124
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-06-17 18:01:51 +00:00
Sam Roberts c216360337 kernel/interface: 30-bit RGB pixel format support
On Apple ARM platforms, iBoot sets up a 30-bit framebuffer

Change-Id: I6c03937303a3363fde511c8b8b7f8fd66a6a6965
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11128
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-06-17 18:01:51 +00:00
mohammedrattia a309dd6890 bluetooth: adding a functioning cancel button to the Inquiry Panel
- This is a mandatory feature in HCI Implementation Conformance Statement (ICS).
- The inquiry cancel logic was implemented in Haiku, but wasn't linked to the inquiry panel.

Change-Id: Ic827b0a09979a078bed5b9f99a8541dc319ac449
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11106
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-06-17 17:47:53 +00:00
Jérôme Duval 528bb58299 BStringList: add Sort() with custom functions
fix #9268 and a TODO

Change-Id: I3148b32221f34f5fb270d8892a6fc80f69ba2e29
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11104
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-06-15 14:49:00 +00:00
Leo Rouleau 315411d839 Devices: extend dm_wrapper and new layout
Shows Device path in /dev if used and Driver used. New tree-view layout for Basic
Information and Attributes separated.

Changes:
- Added new attribute in device_manager to get the path of device
- Tree view layout that separates the Basic Information of a device,
  such as name or driver used and the Attributes that shows the rest
- new call in dm_wrapper
- new case in device_manager
- logic to add the new attributes as Device path and Driver used in
  DevicesView.cpp

Change-Id: I05eaf5d7cf9e3b5ec8e9f1e0ac5c6cf7561ccde5
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11012
Reviewed-by: Kacper Kasper <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Jérôme Duval <[email protected]>
2026-06-12 20:16:56 +00:00
mohammedrattia c3bd18778b bluetooth: Adding support for the HCI Read Local Supported Commands command
- The added command is mandatory under the HCI Implementation Conformance Statement (ICS).
- The command was tested through running the bluetooth_server and Bluetooth preferences and tracking the output logs.

Change-Id: I471766233dee5b24b3fe424fe6724e4378b5927b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11075
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-06-10 15:42:53 +00:00
Augustin Cavalier 29393e16ae graphics/s3: Fixes for 64-bit.
Untested as I don't have this hardware, but relatively straightforward.

Part of #20112.
2026-06-08 12:11:18 -04:00
Augustin Cavalier 658cb74bed kernel/x86: Initialize CR0 in the kernel more than the bootloader.
The bootloader is now only responsible for setting up Protected Mode
and Paging. It otherwise preserves the existing CR0, and leaves setup
to the kernel.

The kernel now sets CR0 for each CPU in preboot_init_percpu().
Some redundant sets are removed from x86_init_fpu, which now
panic()s in the case where we don't have a FPU, and avoids
unnecessary prints.

This fixes a massive oversight where CR0 was never reset on x86
systems booted using the EFI loader, except on the boot CPU! That
meant that NUMERIC_ERROR and possibly even WRITE_PROTECT were
simply not set on non-boot CPUs, unless the EFI BIOS had set them up
already. (On the BIOS loader, smp_start_kernel() ran on all CPUs.)

Fixes NVMM initialization on non-boot CPUs on Intel hardware.
2026-06-04 18:18:28 -04:00
Augustin Cavalier 6f1500d726 kernel/arm64: Add missing "memory" attribute to barrier functions. 2026-06-04 11:16:31 -04:00
Augustin Cavalier 9b6a529847 kernel/vm: Make VM internal methods C++-only.
They shouldn't be needed from C.

Also add a declaration for VMAddressSpace. This should fix the
RISC-V build.
2026-06-04 11:13:53 -04:00
Augustin Cavalier 08037f3107 kernel/scheduler: Add a mechanism to block reschedules.
This will be used by NVMM, which wants interrupts enabled
but not to be actually preempted until it is safe to do so.
2026-06-03 23:04:56 -04:00
Augustin Cavalier 099de13932 nvmm: Implement necessary functions and classes for Haiku.
Intel VMX only.

Co-authored-by: Augustin Cavalier <[email protected]>
2026-06-03 23:04:56 -04:00
Daniel Martin 8b7bc49ce0 nvmm: Import NVMM code from DragonFlyBSD.
Signed-off-by: Augustin Cavalier <[email protected]>
2026-06-03 23:04:55 -04:00
Augustin Cavalier 6e43f9a34a bsd/sys/cdefs.h: Additions for NVMM. 2026-06-03 23:04:55 -04:00
Augustin Cavalier aa731510c1 kernel/vm: Changes to prepare for NVMM.
* VMUserAddressSpace & VMTranslationMap64Bit will need to be inherited from.

 * vm_soft_fault & vm_unmap_address_range will need to be invoked directly.

 * map_backing_store will need to be invoked directly. The whole concept
   of "backing stores" is long merged into VMCache anyway, so at the
   same time, just rename the method to "vm_map_cache".

Methods added to the internal vm_priv.h; they should not be needed
except in special circumstances.
2026-06-03 23:04:55 -04:00
Jérôme Duval 43453b6774 kernel: add memory barrier around cpu thread pinning
should avoid instruction reorder seen on #20100,
could lead to pinning happening after getting the cpu

_ZL15call_single_cpujPFvPviES_b before:
mov    0x90(%rbx),%rax
addl   $0x1,0xa8(%rbx)

_ZL15call_single_cpujPFvPviES_b after:
addl   $0x1,0xa8(%rbx)
mov    0x90(%rbx),%rax

Change-Id: I7759c5e086856a190aac21270601ae55c0b39fac
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11050
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-06-01 18:27:26 +00:00
PulkoMandy 96037d5af2 Move USB CDC Ethernet descriptor to shared header
Use the same structure in usb_ecm and listusb

Change-Id: I8d33b434560bb18bb2f6247090d1580c267adab2
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11046
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-06-01 08:00:34 +00:00
Sam Roberts ce692ecc03 intel_extreme: Clear all framebuffer tile mode bits
Some newer architecture added Y tiling

Maybe fixes #17688

Change-Id: I048c2523b8a804e53752f12cfed436616a6a6964
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11027
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-05-28 12:20:19 +00:00
Sam Roberts f6d3a6f6c7 intel_extreme: Disable framebuffer tiling
On some Intel MacBooks, system firmware configures the framebuffer
as X-tiled and uses the "Graphics Memory Fence Table Register"s to
transparently convert linear framebuffer accesses by the CPU to tiled
accesses. If you change the framebuffer base address or stride, you get
a garbled display since the "fence" configuration no longer matches
the framebuffer.

Might fix #17688

Change-Id: Iaf9ea7641f7809acb9b8fbf14b88ed656a6a6964
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11016
Reviewed-by: Adrien Destugues <[email protected]>
2026-05-25 18:01:29 +00:00
Augustin Cavalier 5dfc0663d5 kernel/x86: Avoid using any initial values in APIC timer registers.
We should just be zeroing any unknown bits, not trying to preserve them.
If the BIOS or other mechanisms left the timer in some other mode
besides "one-shot" like we need, then we might incorrectly preserve
those bits.

This also has the advantage of avoiding config reads in set_hardware_timer.
2026-05-21 15:01:17 -04:00
Augustin Cavalier f5842905e3 kernel/UserTimer: Major overhaul of the locking design.
* Get rid of the global sUserTimerLock. This was added in 2013
   to prepare for the removal of the global scheduler lock, which
   is what all these routines previously used. The locking design
   was never redesigned since then to accomodate for the changes,
   it appears.

 * Make CPU timers always locked by time_lock, and the system-time
   timers locked by a local lock.

 * Make fScheduled load-bearing as to whether the timer is presently
   in the team/thread lists or not.

 * Don't re-fetch the team/thread every wait cycle. This allows us
   to avoid a lock/unlock dance that would otherwise complicate
   the scheduling logic significantly.

Tested using the old version of the Open POSIX Testsuite (which
indeed caught some bugs in earlier versions of this patch.) All
12 timer_create tests still pass, including the ones that depend on
timers firing within the right timeframe.

Fixes #20090.

Change-Id: I54dd9a49e72f51711baa0fbf18e5c35a7fafec8f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11007
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-05-21 16:54:52 +00:00
Augustin Cavalier 6eec6769f2 kernel: Update comments and add some asserts around the user timers.
Change-Id: I8c5e8faaf9c9a3eb86c1faed29beee4ab2958b3c
Reviewed-on: https://review.haiku-os.org/c/haiku/+/11006
Reviewed-by: waddlesplash <[email protected]>
Haiku-Format: Haiku-format Bot <[email protected]>
Tested-by: Commit checker robot <[email protected]>
2026-05-21 16:54:52 +00:00
Augustin Cavalier c6024e1bff kernel/thread: Assert that thread->pinned_to_cpu does not become negative.
May help with diagnosing #20100.
2026-05-18 11:45:33 -04:00
Sam Roberts 1ca6acfaf9 arm64: SMP & CPU startup improvements
- Add more secondary CPU startup methods:
  PSCI using EL3 secure monitor calls (used on most ARM64 CPUs)
  Spin tables (used on Apple CPUs, which lack EL3)
- Secondary startup code was rewritten to pass all needed info
  to secondaries using static variables, since we can't
  pass any info to secondaries when using spin tables
- Setup MMU state to known good values as early as possible
  instead of relying on the values set by the bootloader.

  This also requires generating new page tables, since we're
  (potentially) changing MAIR as well as the address space sizes
  (which determine the number of page table levels we need)

Change-Id: I3b90aab04090fa0c6a8ad82a01df7fee6a6a6964
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10984
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-05-18 15:36:55 +00:00
SED4906 03743ca2b4 Fix build when HOST_CC is GCC 16
The default C++ standard in GCC 16 is C++20 (from C++17),
which introduced "requires" as a keyword. This caused the
build of libsolv (and libpackage) to break.

fs_shell now sets -std=c++11 as in bfs_shell. Both define
__STRICT_ANSI__ to avoid using certain headers, which now
causes conflicts related to __int128 when the standard is
not actually strict ANSI.

Change-Id: Ie142fb87eb79a20fe0c1b5f3fdd3b94899eaff48
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10980
Haiku-Format: Haiku-format Bot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-05-15 20:05:51 +00:00
PulkoMandy 36aa36d060 Increase PTHREAD_KEYS_MAX from 256 to 512
Current values from other systems:

- Linux/glibc: 1024
- OpenBSD: 512
- FreeBSD and NetBSD: 256

256 keys causes a problem with the Rust compiler running out of TLS keys
See: https://github.com/haikuports/haikuports/issues/14042
See: https://github.com/rust-lang/rust/issues/155758

Change-Id: I932a7fc8508c4ab7d93d2ef610d9746134df779b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10976
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
2026-05-15 06:31:05 +00:00
Augustin Cavalier 286eb01997 stdint.h: Declare SIZE_MAX using __SIZE_MAX__ if available.
Fixes the size_t part of #20079.
2026-05-11 14:36:10 -04:00
Augustin Cavalier 8b38e91f46 headers: Declare address and 64-bit limits using hexadecimal.
No functional change intended.
2026-05-11 14:32:27 -04:00
Augustin Cavalier fd09d924e6 headers: Drop nonstandard null.h and size_t.h.
They're holdovers from R5. <stddef.h> should just be included instead,
and ssize_t declared directly in sys/types.h.
2026-05-11 14:17:55 -04:00