diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-07-09 19:24:12 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-07-09 19:24:12 +0300 |
| commit | 89d7cf197b2cae130565467bdfad5d5ef5fed2dd (patch) | |
| tree | 1cff68c3997bfa237b48aa499d45a3700d40e73e /src/debug.c | |
| parent | 298636079d912d0936f8156a609fe74b839c547b (diff) | |
| download | kmi-89d7cf197b2cae130565467bdfad5d5ef5fed2dd.tar.gz kmi-89d7cf197b2cae130565467bdfad5d5ef5fed2dd.zip | |
allow regions to have reserved areas
+ A reserved area is an area at the start of the region that should not
be used unless explicitly asked for, for example null pages.
As such, a small correction to my previous commit message: There's no
danger in not locking req_mem() etc, as a null page will only be
allocated when explicitly asked for.
Diffstat (limited to 'src/debug.c')
| -rw-r--r-- | src/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.c b/src/debug.c index 950f73b..d87588d 100644 --- a/src/debug.c +++ b/src/debug.c @@ -455,7 +455,7 @@ static size_t __print_sign(ssize_t value, size_t flags) * @return \see __integral_val(). */ #define __integral_len(value, base, flags) __integral_val((value), (base), \ - (flags), false) + (flags), false) /** * Print integral value as string. @@ -466,7 +466,7 @@ static size_t __print_sign(ssize_t value, size_t flags) * @return \see __integral_val(). */ #define __integral_print(value, base, flags) __integral_val((value), (base), \ - (flags), true) + (flags), true) /** * Print integral value. |
