chore: Update makefiles & macros

This commit is contained in:
EnderIce2
2024-11-29 04:24:27 +02:00
parent ce3cf8162a
commit 7948d0c6e5
116 changed files with 682 additions and 740 deletions

View File

@ -12,7 +12,6 @@
"KERNEL_VERSION=\"1.0\"",
"GIT_COMMIT=\"0000000000000000000000000000000000000000\"",
"GIT_COMMIT_SHORT=\"0000000\"",
"a64",
"DEBUG=\"1\""
],
"compilerPath": "${workspaceFolder}/../tools/cross/bin/x86_64-fennix-gcc",
@ -69,7 +68,6 @@
"KERNEL_VERSION=\"1.0\"",
"GIT_COMMIT=\"0000000000000000000000000000000000000000\"",
"GIT_COMMIT_SHORT=\"0000000\"",
"a32",
"DEBUG=\"1\""
],
"compilerPath": "${workspaceFolder}/../tools/cross/bin/i386-elf-gcc",

View File

@ -1,5 +1,5 @@
# Config files
include ../../../Makefile.conf
include ../../../config.mk
include ../../config.mk
S_SOURCES = $(shell find ./ -type f -name '*.S')

View File

@ -1,5 +1,5 @@
# Config files
include ../../../Makefile.conf
include ../../../config.mk
include ../../config.mk
S_SOURCES = $(shell find ./ -type f -name '*.S')

View File

@ -1,5 +1,5 @@
# Config files
include ../../../Makefile.conf
include ../../../config.mk
include ../../config.mk
S_SOURCES = $(shell find ./ -type f -name '*.S')

View File

@ -1,5 +1,5 @@
# Config files
include ../../../Makefile.conf
include ../../../config.mk
include ../../config.mk
S_SOURCES = $(shell find ./ -type f -name '*.S')

View File

@ -1,5 +1,5 @@
# Config file
include ../../Makefile.conf
include ../../config.mk
FILENAME = libkernel.so

View File

@ -1,5 +1,5 @@
# Config files
include ../../../Makefile.conf
include ../../../config.mk
include ../../config.mk
S_SOURCES = $(shell find ./ -type f -name '*.S')

View File

@ -66,15 +66,14 @@ int DriverProbe()
* This function is to test if the driver is compatible
* with the hardware.
* Example: Like if there is a PCI device that the driver
* is for, or a CPU feature that etc.
* is for, or a CPU feature etc.
*
* Return 0 if the driver is compatible with the hardware.
* Otherwise, return a value that is not 0.
*
* Note: In this function you cannot use variables that
* have constructors or destructors. Before DriverEntry,
* the constructors are called and after DriverFinalize,
* the destructors are called.
* the destructors.
*/
return 0;

View File

@ -1,5 +1,5 @@
# Config files
include ../../../Makefile.conf
include ../../../config.mk
include ../../config.mk
S_SOURCES = $(shell find ./ -type f -name '*.S')

View File

@ -1,5 +1,5 @@
# Config files
include ../../../Makefile.conf
include ../../../config.mk
include ../../config.mk
S_SOURCES = $(shell find ./ -type f -name '*.S')

View File

@ -1,5 +1,5 @@
# Config files
include ../../../Makefile.conf
include ../../../config.mk
include ../../config.mk
S_SOURCES = $(shell find ./ -type f -name '*.S')

View File

@ -1,5 +1,5 @@
# Config files
include ../../../Makefile.conf
include ../../../config.mk
include ../../config.mk
S_SOURCES = $(shell find ./ -type f -name '*.S')

View File

@ -1,5 +1,5 @@
# Config files
include ../../../Makefile.conf
include ../../../config.mk
include ../../config.mk
S_SOURCES = $(shell find ./ -type f -name '*.S')