diff options
author | Richard Braun <rbraun@sceen.net> | 2012-10-16 19:20:54 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2012-10-16 19:20:54 +0200 |
commit | eb21efaacca336929426c3859a715ccdcce07e7e (patch) | |
tree | 94f58107c126e8a145ee705c2b18d628daaa06a8 /kern/kernel.h | |
parent | 396311ff79582e3a78a175d519e5ebcca4e022f4 (diff) |
Rework the build system
Architecture specific stuff is now completely isolated in its arch/xxx
directory. The install and dist targets have been fixed, as well as the
source file list. Autoconf strictness is reduced to foreign, and the
now unneeded files have been removed. Additions to the generated
config.h header can be added in the global kern/config.h or the
architecture specific machine/config.h headers.
Diffstat (limited to 'kern/kernel.h')
-rw-r--r-- | kern/kernel.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/kern/kernel.h b/kern/kernel.h index f4f99d30..2505541d 100644 --- a/kern/kernel.h +++ b/kern/kernel.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Richard Braun. + * Copyright (c) 2010, 2012 Richard Braun. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,20 +18,15 @@ #ifndef _KERN_KERNEL_H #define _KERN_KERNEL_H -#include <kern/printk.h> - /* * Kernel properties. */ #define KERNEL_NAME PACKAGE_NAME #define KERNEL_VERSION PACKAGE_VERSION -static inline void -kernel_show_banner(void) -{ - printk(KERNEL_NAME " " KERNEL_VERSION "\n"); -} - +/* + * Machine-independent entry point. + */ void kernel_main(void); #endif /* _KERN_KERNEL_H */ |