Changed the name of the archimport module to something more intuitive. You can now include all modules for the architecture by using:

import architecture;

This is shown in kmain.d.

Signed-off-by: The XOmB Overlord <overlord@xomb.net>
This commit is contained in:
wilkie
2009-03-23 08:30:46 +08:00
committed by The XOmB Overlord
parent 04c33b63c3
commit 8344866509
5 changed files with 10 additions and 9 deletions

View File

@@ -17,9 +17,9 @@ prebuild= \
\
echo ; \
echo Setting up Architecture Dependence: x86_64; \
echo '--> archimport.d';\
echo '--> architecture.d';\
mkdir -p dsss_imports;\
cp ../kernel/arch/x86_64/imports/archimport.d dsss_imports/.;\
cp ../kernel/arch/x86_64/imports/architecture.d dsss_imports/.;\
echo ; \
echo Compiling Assembly for target: x86_64 ;\
echo '--> boot.S';\

View File

@@ -1,12 +1,12 @@
/*
* archimport.d
* architecture.d
*
* This file will publically import all modules used to define
* the architecture interfaces provided by this architecture.
*
*/
module archimport;
module architecture;
// Example:
// import kernel.arch.x86.main;

View File

@@ -1,12 +1,12 @@
/*
* archimport.d
* architecture.d
*
* This file will publically import all modules used to define
* the architecture interfaces provided by this architecture.
*
*/
module archimport;
module architecture;
// Example:
// import kernel.arch.x86.main;

View File

@@ -1,12 +1,12 @@
/*
* archimport.d
* architecture.d
*
* This file will publically import all modules used to define
* the architecture interfaces provided by this architecture.
*
*/
module archimport;
module architecture;
// Example:
// import kernel.arch.x86.main;

View File

@@ -12,7 +12,8 @@ module kernel.core.kmain;
// This module contains our powerful kprintf function
import kernel.core.kprintf;
// This module contains the architecture specific modules
import architecture;