mirror of
https://github.com/xomboverlord/xomb-bare-bones.git
synced 2026-01-11 18:33:15 +01:00
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:
committed by
The XOmB Overlord
parent
04c33b63c3
commit
8344866509
@@ -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';\
|
||||
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
@@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user