Fixed compile error when CH_CFG_USE_MEMCHECKS is set to false.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16270 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
e2254ed144
commit
1d12160586
|
@ -215,7 +215,7 @@ static inline bool chMemIsAreaIntersectingX(const memory_area_t *map1,
|
||||||
#if CH_CFG_USE_MEMCHECKS == FALSE
|
#if CH_CFG_USE_MEMCHECKS == FALSE
|
||||||
/* Stub implementations for when the functionality is disabled, areas are
|
/* Stub implementations for when the functionality is disabled, areas are
|
||||||
always reported as valid.*/
|
always reported as valid.*/
|
||||||
bool chMemIsAreaWritableX(const void *p,
|
static inline bool chMemIsAreaWritableX(const void *p,
|
||||||
size_t size,
|
size_t size,
|
||||||
unsigned align) {
|
unsigned align) {
|
||||||
|
|
||||||
|
@ -226,7 +226,7 @@ bool chMemIsAreaWritableX(const void *p,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool chMemIsAreaReadableX(const void *p,
|
static inline bool chMemIsAreaReadableX(const void *p,
|
||||||
size_t size,
|
size_t size,
|
||||||
unsigned align) {
|
unsigned align) {
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ bool chMemIsAreaReadableX(const void *p,
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool chMemIsAddressExecutableX(const void *p) {
|
static inline bool chMemIsAddressExecutableX(const void *p) {
|
||||||
|
|
||||||
(void)p;
|
(void)p;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue