Files
geramyloveless 965c4af2be linuxu: library services the display code links against
- get_random_bytes()/get_random_u*() from the platform CSPRNG
  (arc4random_buf(), which DriverKit's libSystem also provides); DP MST
  uses it for sideband nonces.
- lib/uuid.c built unmodified as a helper (guid_gen(), guid_null for DP
  MST branch GUIDs), with hex_to_bin()/hex2bin()/bin2hex() from
  lib/hexdump.c and the upstream linux/hex.h.
- kstrtobool() and kstrtobool_from_user() from lib/kstrtox.c for the
  DC debugfs write handlers.
- vzalloc() for the DML/DML2 work areas.
- Upstream headers and helpers: linux/bitfield.h and linux/typecheck.h
  verbatim (kernel.h now uses the upstream typecheck()), the full
  linux/backlight.h and drm_privacy_screen_consumer.h (their
  !CONFIG inlines replace stray declarations), ffz(), might_sleep_if(),
  delayed_work_pending(), ARCH_KMALLOC_MINALIGN, linux/minmax.h, and
  linux/err.h from linux/dmi.h as the quirk tables need. ssleep() is the
  upstream inline now.
2026-10-02 20:56:28 -07:00

8 lines
297 B
C

/* linuxu: SHIM (third_party/linux/include/linux/minmax.h) - min()/max()/
* clamp() and friends live in the shim linux/bitops.h, which every kernel
* header path already includes; this name only forwards to it. */
#ifndef _LINUX_MINMAX_H
#define _LINUX_MINMAX_H
#include <linux/bitops.h>
#endif