Xiang Xiao
|
eca7059785
Refine __KERNEL__ and CONFIG_BUILD_xxx usage in the code base
|
4 years ago |
Masayuki Ishikawa
|
ad9db974cb
mm: Fix heap corruption in protected build
|
4 years ago |
Gregory Nutt
|
67ec3d7926
Remove CONFIG_CAN_PASS_STRUCT
|
4 years ago |
ligd
|
ef360394c7
mm/mm_heap: fix mm_heap not support BUILD_FLAT
|
4 years ago |
ligd
|
cbf31bca5c
global change: fix tools/checkpatch.sh warnnings
|
4 years ago |
ligd
|
cec53bb133
include/nuttx/mm/mm.h: fix MM_IS_ALLOCATED(n) define error
|
4 years ago |
ligd
|
1d2396353e
mm/mm_heap: add mm_delaylist to mm_heap_s struct
|
4 years ago |
Xiang Xiao
|
270b62bacc
include/nuttx/mm/mm.h: Remove the assumption that one character equals eight bits.
|
5 years ago |
Gregory Nutt
|
bdd02a6aed
Some cosmetic updates, mostly to spacing and comments.
|
5 years ago |
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 years ago |
Gregory Nutt
|
514ac3fe98
mm: Add a debug assertin to check for integer overflow in malloc.
|
7 years ago |
Gregory Nutt
|
070d40260b
profcs: At file to should user space heap. This replaces the NSH free command.
|
7 years ago |
Gregory Nutt
|
28e9fe32b6
include/: Remove dangling space at the end of lines.
|
7 years ago |
Gregory Nutt
|
1cdc746726
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
|
8 years ago |
Gregory Nutt
|
12f95c6f6b
Add procfs/kmm to show the state of the kernel heap
|
8 years ago |
Gregory Nutt
|
cd7c6705a8
mm.h: Use UINT32_MAX vs. SIZE_MAX in definition of MMSIZE_MAX
|
9 years ago |
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 years ago |
Gregory Nutt
|
9c66bde5b0
Fix typo in pre-processor command noted by Pierre-noel Bouteville. Also move # of pre-processior command to column 1
|
9 years ago |
Gregory Nutt
|
e69d14d89b
Fix some warnings/errors detected by nuttx/tools/testbuilds.sh
|
9 years ago |
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 years ago |
Gregory Nutt
|
855e40ee7d
Make some file section headers more consistent with standard
|
9 years ago |
Gregory Nutt
|
ef82c280fd
MM: Minimum memory allocation must to up to 32 if sizeof pointer is 8-bytes
|
10 years ago |
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 years ago |
Gregory Nutt
|
b33c2d9cef
Move include/nuttx/mm.h to include/nuttx/mm/mm.h
|
10 years ago |