Read-Only Mirror of Apache NuttX RTOS
Find a file
Yanfeng Liu 102a62c7e3 mm/mm_gran: remove allocation size limitation
This patch refactors granule allocator to remove the 32 granules
limitation with the help of a gran_range_s structure and related
functions, see "mm_grantable.h" for details.

Below are the major functions explaining how this works:

- The gran_match() checks if a gran range all in the given state.
  it gives last mismatch position when fails free range matching.
- The gran_search() tries to find the position of a free range.
  It leverages last mismatch position from gran_match() to speed
  up the search.

range size handling is mainly in gran_match() and gran_set_().

Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
2024-04-20 16:24:37 -03:00
.github Minor improvement for tools/ci: Fixed cmake build of bloaty and installation in darwin.sh script. 2024-03-19 20:52:40 +08:00
arch arch/arm64/src/imx9/imx9_lpuart.c: Change ARMV8M_DCACHE_LINESIZE -> ARMV8A_DCACHE_LINESIZE 2024-04-20 18:43:41 +08:00
audio Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
binfmt all: Fix accessing uninitialized local variables 2024-04-04 11:51:54 +08:00
boards arm64/imx9: Add LPSPI driver 2024-04-18 10:58:02 -03:00
cmake cmake:enhance set_source_files_properties for NuttX CMake module 2024-04-18 14:57:58 -03:00
crypto sched: explicitly select the cpuload clock source configuration 2023-11-01 09:27:56 +08:00
Documentation Documentation:update qemugdb usage 2024-04-20 18:42:28 +08:00
drivers sensors: add support for bmm150 magnetometer 2024-04-20 16:20:43 -03:00
dummy build: add initial cmake build system 2023-07-08 13:50:48 +08:00
fs stm32h7/linum-stm32h753bi: Add support to littlefs and nxffs with flash mem. via quadspi 2024-04-15 13:24:55 +08:00
graphics video/vnc: add vnc_fb_register 2024-04-12 17:42:49 +08:00
include sensors: add support for bmm150 magnetometer 2024-04-20 16:20:43 -03:00
libs cmake:enhance set_source_files_properties for NuttX CMake module 2024-04-18 14:57:58 -03:00
mm mm/mm_gran: remove allocation size limitation 2024-04-20 16:24:37 -03:00
net net/netlink: Add NETLINK_NETFILTER's CONNTRACK support 2024-04-18 13:03:59 +08:00
openamp openamp/libmetal.cmake: sync with libmetal.defs 2024-03-28 16:07:49 +08:00
pass1 passl: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
sched sched/Kconfig: make disable idle loop configurable 2024-04-19 20:12:17 +08:00
syscall build/cmake: add initial KERNEL mode support 2024-03-15 16:21:23 +08:00
tools simwifi:change script path from absolute path to soft link 2024-04-17 19:46:42 +08:00
video build: add initial cmake build system 2023-07-08 13:50:48 +08:00
wireless Remove the back slash from long literal string 2024-02-19 16:43:15 +01:00
.asf.yaml feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
.gitignore fs/vfat: Fix typo in the macro DIRSEC_BYTENDX 2024-02-03 12:46:08 -03:00
.yamllint feat: add a GitHub action to lint the YAML files 2020-12-15 09:52:04 -06:00
AUTHORS AUTHORS: add Tomek CEDRO to the list 2023-03-07 14:15:55 +01:00
CMakeLists.txt cmake:enhance set_source_files_properties for NuttX CMake module 2024-04-18 14:57:58 -03:00
CONTRIBUTING.md Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
INVIOLABLES.md INVIOLABLES.md: Fix a simple alignment and change occurrences of Nuttx 2020-09-03 01:33:05 +08:00
Kconfig rpmsg/debug: add debug configs and macros 2024-02-15 19:53:55 -08:00
LICENSE RP2040: Implement board_uniqueid() 2024-03-17 10:00:25 -03:00
Makefile tools:fix some error use of shell command in Windows native build 2022-11-06 16:41:49 +08:00
NOTICE Remove the double blank line from source files 2022-02-20 20:10:14 +01:00
README.md Gathering community recommendations 2023-10-28 13:55:56 +08:00
ReleaseNotes Documentation: move ReleaseNotes 2023-09-26 20:41:00 +08:00

POSIX Badge License Issues Tracking Badge Contributors GitHub Build Badge Documentation Badge

Apache NuttX is a real-time operating system (RTOS) with an emphasis on standards compliance and small footprint. Scalable from 8-bit to 64-bit microcontroller environments, the primary governing standards in NuttX are POSIX and ANSI standards. Additional standard APIs from Unix and other common RTOSs (such as VxWorks) are adopted for functionality not available under these standards, or for functionality that is not appropriate for deeply-embedded environments (such as fork()).

For brevity, many parts of the documentation will refer to Apache NuttX as simply NuttX.

Getting Started

First time on NuttX? Read the Getting Started guide! If you don't have a board available, NuttX has its own simulator that you can run on terminal.

Documentation

You can find the current NuttX documentation on the Documentation Page.

Alternatively, you can build the documentation yourself by following the Documentation Build Instructions.

The old NuttX documentation is still available in the Apache wiki.

Supported Boards

NuttX supports a wide variety of platforms. See the full list on the Supported Platforms page.

Contributing

If you wish to contribute to the NuttX project, read the Contributing guidelines for information on Git usage, coding standard, workflow and the NuttX principles.

License

The code in this repository is under either the Apache 2 license, or a license compatible with the Apache 2 license. See the License Page for more information.