diff options
| author | Michal Idziorek <m.i@gmx.at> | 2015-05-13 04:52:17 +0200 |
|---|---|---|
| committer | Michal Idziorek <m.i@gmx.at> | 2015-05-13 04:52:17 +0200 |
| commit | 39d0c5ad74f69ef368d6f83e4eac575e76060eb4 (patch) | |
| tree | e38dacc3b42767e8c5d49fda58e26adfe4bdcfa3 /kernel | |
| parent | d7c12c5210ed1545549b9d2b14fb9fb89ce652e2 (diff) | |
passing grub modules to kernel
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/kernel.c | 3 | ||||
| -rw-r--r-- | kernel/kernel.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/kernel/kernel.c b/kernel/kernel.c index d0f1bce..91e1c45 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -69,8 +69,9 @@ void kernel_main(uint32_t eax,uint32_t ebx) for(int i=0;i<info->mods_count;i++) { - log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"mod at 0x08%X-0x08%X : %s", + log(FOOLOS_MODULE_NAME,FOOLOS_LOG_INFO,"mod at 0x%08X-0x%08X : %s", mod->mod_start,mod->mod_end, mod->string); + mod++; } } diff --git a/kernel/kernel.h b/kernel/kernel.h index 364375b..d5b5a0f 100644 --- a/kernel/kernel.h +++ b/kernel/kernel.h @@ -1,7 +1,7 @@ #ifndef FOOLOS_KERNEL_H #define FOOLOS_KERNEL_H -#define KERNEL_VERSION "FoolOs 0.1" +#define KERNEL_VERSION "FoolOs 0.1.1" #endif |
