add CatchAllDebugBucket as a syscall for debugging, add a basic network card plus ethernet driver (wip)
This commit is contained in:
1 parent
bf34d63ea3
commit
0d7f71b693
22 files changed
+2248
-25
No files matched your search
@@ -117,6 +117,14 @@ cl %CFLAGS% /I"%SRC%\usb" /c /Fo"obj\drivers\usb.obj" "%SRC%\drivers\usb\usb.c"
|
||||
link /nologo /SUBSYSTEM:NATIVE /NODEFAULTLIB /DLL /OUT:"bin\usb.sys" /ENTRY:DriverEntry ^
|
||||
bin\hal.lib bin\kernel.lib obj\libc.obj obj\drivers\usb.obj || exit /b 1
|
||||
|
||||
cl %CFLAGS% /I"%SRC%\rtl816x" /c /Fo"obj\drivers\rtl816x.obj" "%SRC%\drivers\rtl816x\rtl816x.c" || exit /b 1
|
||||
link /nologo /SUBSYSTEM:NATIVE /NODEFAULTLIB /DLL /OUT:"bin\rtl816x.sys" /ENTRY:DriverEntry ^
|
||||
bin\hal.lib bin\kernel.lib obj\libc.obj obj\drivers\rtl816x.obj || exit /b 1
|
||||
|
||||
cl %CFLAGS% /I"%SRC%\rtl8139" /c /Fo"obj\drivers\rtl8139.obj" "%SRC%\drivers\rtl8139\rtl8139.c" || exit /b 1
|
||||
link /nologo /SUBSYSTEM:NATIVE /NODEFAULTLIB /DLL /OUT:"bin\rtl8139.sys" /ENTRY:DriverEntry ^
|
||||
bin\hal.lib bin\kernel.lib obj\libc.obj obj\drivers\rtl8139.obj || exit /b 1
|
||||
|
||||
:: ---- Compile init ----
|
||||
echo Compiling init...
|
||||
for %%f in (%SRC%\init\*.c) do (
|
||||
@@ -157,7 +165,6 @@ for %%f in (%SRC%\async_apc\*.c) do (
|
||||
link %LFLAGS% /SUBSYSTEM:NATIVE /ENTRY:main ^
|
||||
/OUT:"bin\async_apc.exe" /PDB:"bin\async_apc.pdb" bin\syscall.lib obj\libc.obj obj\async_apc\*.obj || exit /b 1
|
||||
|
||||
|
||||
:: ---- Compile async_cancel ----
|
||||
echo Compiling async_cancel...
|
||||
for %%f in (%SRC%\async_cancel\*.c) do (
|
||||
@@ -224,6 +231,8 @@ copy /y "bin\ide.sys" "%DEST%\drivers\"
|
||||
copy /y "bin\ahci.sys" "%DEST%\drivers\"
|
||||
copy /y "bin\fat32.sys" "%DEST%\drivers\"
|
||||
copy /y "bin\usb.sys" "%DEST%\drivers\"
|
||||
copy /y "bin\rtl816x.sys" "%DEST%\drivers\"
|
||||
copy /y "bin\rtl8139.sys" "%DEST%\drivers\"
|
||||
copy /y "bin\init.exe" "%DEST%\system\"
|
||||
copy /y "bin\shell_win32.exe" "%DEST%\apps\"
|
||||
copy /y "bin\shell_posix.exe" "%DEST%\apps\"
|
||||
|
||||
Reference in new issue
Block a user