nuttx/drivers/power/pm
Xiang Xiao 9e141acab3 !include/fcntl.h: align open flags with Linux values
Align the NuttX open(2) flag constants with the Linux asm-generic
values so that the FUSE wire protocol and other cross-platform
interfaces work without conversion.

All code that used '(flags & O_RDONLY)' as a bitmask check (always 0
now that O_RDONLY=0) has been updated to use '(flags & O_ACCMODE)'
comparisons.

The NUTTX_O_* constants in include/nuttx/fs/hostfs.h are updated to
match, and the sim hostfs open flag mapping is fixed.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-06-30 13:43:44 +08:00
..
activity_governor.c !sys/types.h: change time_t and clock_t to int64_t to align with other OSes 2026-05-19 16:21:28 +08:00
CMakeLists.txt drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
greedy_governor.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
Kconfig style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
Make.defs drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pm.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pm_activity.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
pm_autoupdate.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pm_changestate.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pm_checkstate.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pm_governor.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
pm_idle.c drivers: unify Private Types banners 2025-05-28 10:17:15 +08:00
pm_initialize.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pm_lock.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pm_procfs.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
pm_register.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
pm_runtime.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
pm_unregister.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
stability_governor.c !sys/types.h: change time_t and clock_t to int64_t to align with other OSes 2026-05-19 16:21:28 +08:00