Updated driver loading code

This commit is contained in:
Alex
2022-12-16 03:08:31 +02:00
parent e930e02752
commit d33a812703
7 changed files with 506 additions and 383 deletions

View File

@ -0,0 +1,22 @@
#include "../api.hpp"
#include <interrupts.hpp>
#include <memory.hpp>
#include <task.hpp>
#include <lock.hpp>
#include <printf.h>
#include <cwalk.h>
#include <md5.h>
#include "../../../kernel.h"
#include "../../../DAPI.hpp"
#include "../../../Fex.hpp"
namespace Driver
{
DriverCode Driver::DriverLoadBindProcess(void *DrvExtHdr, uint64_t DriverAddress, uint64_t Size, bool IsElf)
{
fixme("Process driver: %s", ((FexExtended *)DrvExtHdr)->Driver.Name);
return DriverCode::NOT_IMPLEMENTED;
}
}