diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-01 18:20:45 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2014-12-01 18:20:45 +0100 |
commit | c7bcf94b1e70721d0f7bfb5ca383d996559c2559 (patch) | |
tree | 845f9e6c2193f444c80b1506438e9280a52585e5 /kernel/lib | |
parent | 8f936e07ecb5af4053ad7d457a32e69695cb357e (diff) | |
download | macroscope-c7bcf94b1e70721d0f7bfb5ca383d996559c2559.tar.gz macroscope-c7bcf94b1e70721d0f7bfb5ca383d996559c2559.zip |
Small adjustments:
- add missing vim modelines
- idt_set_ex_handler, idt_set_irq_handler
- inline inb,inw,outb,outw
- add defines for exceptions and irqs
Diffstat (limited to 'kernel/lib')
-rw-r--r-- | kernel/lib/printf.c | 2 | ||||
-rw-r--r-- | kernel/lib/string.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/kernel/lib/printf.c b/kernel/lib/printf.c index c1ef83b..68e08d8 100644 --- a/kernel/lib/printf.c +++ b/kernel/lib/printf.c @@ -116,3 +116,5 @@ int vsnprintf(char *buff, size_t len, const char* format, va_list ap){ *buff = '\0'; return result; } + +/* vim: set ts=4 sw=4 tw=0 noet :*/ diff --git a/kernel/lib/string.c b/kernel/lib/string.c index 6d26478..9dce27b 100644 --- a/kernel/lib/string.c +++ b/kernel/lib/string.c @@ -87,3 +87,4 @@ void *memset(void *dest, int val, size_t count) { return dest; } +/* vim: set ts=4 sw=4 tw=0 noet :*/ |