nuttx/arch/x86_64/src/common
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
..
addrenv.h arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
CMakeLists.txt cmake(bugfix):add x86_64 arch cmake loadable mod support 2026-01-19 14:45:37 +08:00
crt0.c arch/crt0.c: revert entry _start 2025-12-10 19:06:04 +08:00
fork.S arch/x64: Fix crash issue after enabling KASAN 2026-01-15 16:15:25 -03:00
Kconfig arch/x86_64: Add ARCH_X86_64_IDLE_NOP and ARCH_X86_64_IDLE_MWAIT 2024-09-12 18:12:12 +02:00
Make.defs arch/x64: add acpi procfs 2026-01-19 14:10:12 +08:00
multiboot1.ld arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
multiboot1.S arch/x86_64: replaced loop construct with rep movsb 2026-02-02 13:58:10 +08:00
pgalloc.h arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
Toolchain.defs arch/x86_64: Add gprof 2026-01-20 22:43:38 +08:00
x86_64_acpi.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_acpi_procfs.c !include/fcntl.h: align open flags with Linux values 2026-06-30 13:43:44 +08:00
x86_64_addrenv.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_addrenv_kstack.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_addrenv_perms.c arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64_allocateheap.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_copystate.c arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64_exit.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_fork.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_fork.h arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64_getintstack.c arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64_hwdebug.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_hwdebug.h style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
x86_64_initialize.c arch/x64: add acpi procfs 2026-01-19 14:10:12 +08:00
x86_64_internal.h arch: move some macros to public code. 2026-01-20 01:53:08 +08:00
x86_64_lowputs.c arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64_mmu.c arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64_mmu.h drivers/pci: fix typo addres -> address 2024-12-17 20:48:07 +08:00
x86_64_modifyreg8.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_modifyreg16.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_modifyreg32.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_nputs.c arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64_pci.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_pgalloc.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_pthread_start.c arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64_signal_dispatch.c arch/x86_64: Add support to disable signals actions related data struct 2026-01-18 08:24:13 -03:00
x86_64_switchcontext.c style: fix checkpatch issues after debug.h move 2026-04-07 07:50:06 -03:00
x86_64_syscall.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
x86_64_task_start.c arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64_tcbinfo.c arch/x86_64:Adapt coredump 2025-01-22 16:35:32 +08:00
x86_64_tlb.c arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00
x86_64_tls.c arch/x86_64: migrate to SPDX identifier 2024-12-02 17:23:25 +08:00