get_temp_mask(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to get_temp_mask(9) from the Kernel API Manual 🌸 β€” this is the page for get_temp_mask, and it Returns the model-specific bitmask for temperature. periodt.


🫢 SYNOPSIS 🫢

Here’s the signature, no cap β€” copy it exactly:

u32 get_temp_mask (bool pkg );

πŸŽ€ ARGUMENTS πŸŽ€

  • pkg β€” true: Package Thermal Sensor. false: Core Thermal Sensor.

πŸ’… DESCRIPTION πŸ’…

Get the model-specific bitmask to extract the temperature reading from the MSR_IA32_[PACKAGE]_THERM_STATUS register. That’s the whole assignment, and it’s giving very specific little gremlin energy πŸ”₯.

bestie, fr fr: Callers must check if the thermal status registers are supported. Do not skip the vibe check on this one πŸ’€.

πŸ”₯ RETURN πŸ”₯

The model-specific bitmask for temperature reading. That’s it β€” that’s the return πŸ’–.


🌈 SEE ALSO 🌈

Go read these next, bestie β€” the whole little kernel thermal cinematic universe πŸ‘‘:


mwah πŸ’‹ β€” this page lives under ./drivers/thermal/intel and is dated October 2026. signed, get_temp_mask(9) πŸ’–

πŸ“¦ where this page comes from