mirror of
https://github.com/xomboverlord/xomb-bare-bones.git
synced 2026-01-11 18:33:15 +01:00
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:
committed by
The XOmB Overlord
parent
39999641ee
commit
04c33b63c3
@@ -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;\
|
||||
\
|
||||
\
|
||||
|
||||
12
build/dsss_imports/archimport.d
Normal file
12
build/dsss_imports/archimport.d
Normal 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;
|
||||
12
kernel/arch/x86/imports/archimport.d
Normal file
12
kernel/arch/x86/imports/archimport.d
Normal 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;
|
||||
12
kernel/arch/x86_64/imports/archimport.d
Normal file
12
kernel/arch/x86_64/imports/archimport.d
Normal 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;
|
||||
Reference in New Issue
Block a user