aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--common/debug.c6
-rw-r--r--common/uapi/mem.c2
-rw-r--r--docs/doxygen.conf8
4 files changed, 10 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 7d561e1..a647267 100644
--- a/Makefile
+++ b/Makefile
@@ -97,7 +97,7 @@ apos.bin: init.bin kernel.bin
format:
find arch lib common include -iname '*.[ch]' |\
- uncrustify -c uncrustify.conf --no-backup -F -
+ xargs -n 10 -P 0 uncrustify -c uncrustify.conf --no-backup -F -
.PHONY: docs
docs:
diff --git a/common/debug.c b/common/debug.c
index 1012887..1f5e872 100644
--- a/common/debug.c
+++ b/common/debug.c
@@ -434,7 +434,8 @@ static size_t __print_sign(ssize_t value, size_t flags)
* @param flags Formatting flags.
* @return \see __integral_val().
*/
-#define __integral_len(value, base, flags) __integral_val((value), (base), (flags), false)
+#define __integral_len(value, base, flags) __integral_val((value), (base), \
+ (flags), false)
/**
* Print integral value as string.
@@ -444,7 +445,8 @@ static size_t __print_sign(ssize_t value, size_t flags)
* @param flags Formatting flags.
* @return \see __integral_val().
*/
-#define __integral_print(value, base, flags) __integral_val((value), (base), (flags), true)
+#define __integral_print(value, base, flags) __integral_val((value), (base), \
+ (flags), true)
/**
* Print integral value.
diff --git a/common/uapi/mem.c b/common/uapi/mem.c
index 5c4095b..eca3da2 100644
--- a/common/uapi/mem.c
+++ b/common/uapi/mem.c
@@ -92,7 +92,7 @@ SYSCALL_DEFINE3(req_pmem)(sys_arg_t paddr, sys_arg_t size, sys_arg_t flags)
struct tcb *r = cur_proc();
vm_t start = 0;
if ((start = alloc_devmem(r, paddr, size, flags)))
- return (struct sys_ret){ ERR_OOMEM, NULL };
+ return (struct sys_ret){ ERR_OOMEM, NULL };
return (struct sys_ret){ OK, start };
}
diff --git a/docs/doxygen.conf b/docs/doxygen.conf
index bc5fb73..a6ec826 100644
--- a/docs/doxygen.conf
+++ b/docs/doxygen.conf
@@ -1197,7 +1197,7 @@ CLANG_DATABASE_PATH =
# classes, structs, unions or interfaces.
# The default value is: YES.
-ALPHABETICAL_INDEX = NO
+ALPHABETICAL_INDEX = YES
# In case all classes in a project start with a common prefix, all classes will
# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
@@ -2447,7 +2447,7 @@ UML_LIMIT_NUM_FIELDS = 10
# The default value is: NO.
# This tag requires that the tag UML_LOOK is set to YES.
-DOT_UML_DETAILS = NO
+DOT_UML_DETAILS = YES
# The DOT_WRAP_THRESHOLD tag can be used to set the maximum number of characters
# to display on a single line. If the actual line length exceeds this threshold
@@ -2539,7 +2539,7 @@ DIRECTORY_GRAPH = YES
# The default value is: png.
# This tag requires that the tag HAVE_DOT is set to YES.
-DOT_IMAGE_FORMAT = png
+DOT_IMAGE_FORMAT = svg
# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
# enable generation of interactive SVG images that allow zooming and panning.
@@ -2639,7 +2639,7 @@ DOT_TRANSPARENT = YES
# The default value is: NO.
# This tag requires that the tag HAVE_DOT is set to YES.
-DOT_MULTI_TARGETS = YES
+DOT_MULTI_TARGETS = NO
# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
# explaining the meaning of the various boxes and arrows in the dot generated