Added architecture import selection to show how this would be done for LDC and DSSS. This is important (as documentation for these is light) but no actual work for the targets are done.

The archimport.d file is for importing the specific architecture and its interfaces. It can be imported by any module, as I will do for the next commit.

Signed-off-by: The XOmB Overlord <overlord@xomb.net>
This commit is contained in:
wilkie
2009-03-23 08:26:37 +08:00
committed by The XOmB Overlord
parent 39999641ee
commit 04c33b63c3
4 changed files with 43 additions and 2 deletions

View File

@@ -16,10 +16,15 @@ prebuild= \
\
\
echo ; \
echo Setting up Architecture Dependence: x86_64; \
echo '--> archimport.d';\
mkdir -p dsss_imports;\
cp ../kernel/arch/x86_64/imports/archimport.d dsss_imports/.;\
echo ; \
echo Compiling Assembly for target: x86_64 ;\
echo '--> boot.s';\
echo '--> boot.S';\
yasm -o dsss_objs/G/kernel.arch.x86_64.boot.boot.o ../kernel/arch/x86_64/boot/boot.s -felf64;\
echo '--> load.s';\
echo '--> load.S';\
yasm -o dsss_objs/G/kernel.arch.x86_64.load.load.o ../kernel/arch/x86_64/boot/load.s -felf64;\
\
\

View File

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

View File

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

View File

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