Skip to content

Instantly share code, notes, and snippets.

@auselen
auselen / .vimrc
Last active December 29, 2015 12:49
Utku's .vimrc
"tabs
:set tabstop=4
:set shiftwidth=4
:set expandtab
"code folding
:set foldmethod=indent
:set foldlevelstart=99
"command completion
:set wildmode=longest,list,full
:set wildmenu
@auselen
auselen / gator kernel stack unwinding
Last active December 22, 2015 00:29
Make kernel stack unwinding feature of ARM DS-5 Streamline's optional at run time instead of build time.
diff --git a/gator-driver/gator_backtrace.c b/gator-driver/gator_backtrace.c
index 0670d6c..903e964 100644
--- a/gator-driver/gator_backtrace.c
+++ b/gator-driver/gator_backtrace.c
@@ -130,17 +130,13 @@ static int report_trace(struct stackframe *frame, void *d)
}
#endif
-// Uncomment the following line to enable kernel stack unwinding within gator, note it can also be defined from the Makefile
-// #define GATOR_KERNEL_STACK_UNWINDING
@auselen
auselen / instructions.txt
Last active November 15, 2023 13:29
Trying to create a grammar for ARM Unified Assembler Language as specified in ARM Architecture Reference Manual, this is list of all instructions assembler syntaxes.
ADC{S}{<c>}{<q>} {<Rd>,} <Rn>, #<const>
ADC{S}{<c>}{<q>} {<Rd>,} <Rn>, <Rm> {, <shift>}
ADC{S}{<c>}{<q>} {<Rd>,} <Rn>, <Rm>, <type> <Rs>
ADD{<c>}{<q>} <Rd>, PC, #<const>
ADD{S}{<c>}{<q>} {<Rd>,} <Rn>, #<const>
ADD{S}{<c>}{<q>} {<Rd>,} <Rn>, <Rm> {, <shift>}
ADD{S}{<c>}{<q>} {<Rd>,} <Rn>, <Rm>, <type> <Rs>
ADD{S}{<c>}{<q>} {<Rd>,} SP, #<const>
ADD{S}{<c>}{<q>} {<Rd>,} SP, <Rm>{, <shift>}
ADDW{<c>}{<q>} {<Rd>,} <Rn>, #<const>