diff options
author | Alexis211 <alexis211@gmail.com> | 2010-08-10 20:39:57 +0200 |
---|---|---|
committer | Alexis211 <alexis211@gmail.com> | 2010-08-10 20:39:57 +0200 |
commit | f81bf65484fa8c81a1886f456c71f1e6eebe84e9 (patch) | |
tree | 146f304d8de8828003edd548df22cca581044017 /src/kernel/core/monitor.h | |
parent | 0ec0ca40a4fedfe97c49903a329b2a9ad2e22d03 (diff) | |
download | TCE-f81bf65484fa8c81a1886f456c71f1e6eebe84e9.tar.gz TCE-f81bf65484fa8c81a1886f456c71f1e6eebe84e9.zip |
Added a lot of comments in kernel code. A bit of cleaning too.
Diffstat (limited to 'src/kernel/core/monitor.h')
-rw-r--r-- | src/kernel/core/monitor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/core/monitor.h b/src/kernel/core/monitor.h index f4605cf..c04632e 100644 --- a/src/kernel/core/monitor.h +++ b/src/kernel/core/monitor.h @@ -10,6 +10,11 @@ void monitor_writeHex(uint32_t v); void monitor_writeDec(uint32_t v); #define NL monitor_put('\n'); +#define WHERE { monitor_write("(kernel:"); \ + monitor_write(__FILE__); \ + monitor_write(":"); \ + monitor_writeDec(__LINE__); \ + monitor_write(") "); } #endif |