Xiang Xiao
|
eca7059785
Refine __KERNEL__ and CONFIG_BUILD_xxx usage in the code base
|
4 年之前 |
Masayuki Ishikawa
|
ad9db974cb
mm: Fix heap corruption in protected build
|
4 年之前 |
Gregory Nutt
|
67ec3d7926
Remove CONFIG_CAN_PASS_STRUCT
|
4 年之前 |
ligd
|
ef360394c7
mm/mm_heap: fix mm_heap not support BUILD_FLAT
|
4 年之前 |
ligd
|
cbf31bca5c
global change: fix tools/checkpatch.sh warnnings
|
4 年之前 |
ligd
|
cec53bb133
include/nuttx/mm/mm.h: fix MM_IS_ALLOCATED(n) define error
|
4 年之前 |
ligd
|
1d2396353e
mm/mm_heap: add mm_delaylist to mm_heap_s struct
|
4 年之前 |
Xiang Xiao
|
270b62bacc
include/nuttx/mm/mm.h: Remove the assumption that one character equals eight bits.
|
5 年之前 |
Gregory Nutt
|
bdd02a6aed
Some cosmetic updates, mostly to spacing and comments.
|
5 年之前 |
Xiang Xiao
|
86eef8ce3a
mm/: add mm_heapmember function and reimplement kmm_heapmember base on mm_heapmember since this function is very useful if multiple heaps exist.
|
6 年之前 |
Gregory Nutt
|
514ac3fe98
mm: Add a debug assertin to check for integer overflow in malloc.
|
7 年之前 |
Gregory Nutt
|
070d40260b
profcs: At file to should user space heap. This replaces the NSH free command.
|
7 年之前 |
Gregory Nutt
|
28e9fe32b6
include/: Remove dangling space at the end of lines.
|
7 年之前 |
Gregory Nutt
|
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
|
8 年之前 |
Gregory Nutt
|
12f95c6f6b
Add procfs/kmm to show the state of the kernel heap
|
8 年之前 |
Gregory Nutt
|
cd7c6705a8
mm.h: Use UINT32_MAX vs. SIZE_MAX in definition of MMSIZE_MAX
|
9 年之前 |
Gregory Nutt
|
6230e6e199
size_t should be 64-bits on a 64-bit machine. mmsize_t should be 32-bits (unless CONFIG_MM_SMALL is selected). This commit backs out the last change to stddef.h
|
9 年之前 |
Gregory Nutt
|
9c66bde5b0
Fix typo in pre-processor command noted by Pierre-noel Bouteville. Also move # of pre-processior command to column 1
|
9 年之前 |
Gregory Nutt
|
e69d14d89b
Fix some warnings/errors detected by nuttx/tools/testbuilds.sh
|
9 年之前 |
Gregory Nutt
|
59cc4a7a7b
Protected mode: Redesign how the user space heap is accessed from the kernel code. It used to call memory management functions in user space via function pointers in the userspace interface. That is inefficient because the first thing that those memory management functions do is to trap back into the kernel to get the current PID. Worse, that operation can be fatal is certain fragile situations such as when a task is exitting.
|
9 年之前 |
Gregory Nutt
|
855e40ee7d
Make some file section headers more consistent with standard
|
9 年之前 |
Gregory Nutt
|
ef82c280fd
MM: Minimum memory allocation must to up to 32 if sizeof pointer is 8-bytes
|
10 年之前 |
Gregory Nutt
|
1273be4cfc
Fix a place in the memory manager where it explicitly assumes that the size of a point is 4 bytes. That is OK if the actually size is smaller but makes the heap unstable when used withthe x86_64 host simulation
|
10 年之前 |
Gregory Nutt
|
b33c2d9cef
Move include/nuttx/mm.h to include/nuttx/mm/mm.h
|
10 年之前 |