From: Jack Lange Date: Wed, 7 Jul 2010 23:15:38 +0000 (-0500) Subject: added code formatting utilities X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=4e1e9d7e2e0f854d9591ea8088b9c9db38661303 added code formatting utilities --- diff --git a/utils/format/astyle_1.24_linux.tar.gz b/utils/format/astyle_1.24_linux.tar.gz new file mode 100644 index 0000000..1a68e35 Binary files /dev/null and b/utils/format/astyle_1.24_linux.tar.gz differ diff --git a/utils/format/astyle_cmd b/utils/format/astyle_cmd new file mode 100644 index 0000000..4ace790 --- /dev/null +++ b/utils/format/astyle_cmd @@ -0,0 +1 @@ +astyle -T4 -a -S -w -y -M79 -p < vmm_mptable.c | less diff --git a/utils/format/bin/astyle b/utils/format/bin/astyle new file mode 100755 index 0000000..57733ed Binary files /dev/null and b/utils/format/bin/astyle differ diff --git a/utils/format/indent_cmd b/utils/format/indent_cmd new file mode 100644 index 0000000..d7ac479 --- /dev/null +++ b/utils/format/indent_cmd @@ -0,0 +1,3 @@ +indent -br -bap -ce -cdw -cli4 -npcs -saf -sai -saw -ncs -nbc -npsl -hnl -di1 -brs -brf -i4 -l256 -lp -T uint8_t -T uint16_t -T uint32_t -T addr_t -T uint64_t vmm_ +mptable.c -o test.out.c +