Shellscript improvement plus FAT driver implementations
- Improved the run bash script to exit when an error occurs in one of the sub tasks - Wrote basic FAT16 functions that should give enough information to properly implement the rest of the driver - FAT structure namings are now in accordence with the microsoft spec of March 2005
This commit is contained in:
18
kernel/storage/partitions/partitionManager.cpp
Normal file
18
kernel/storage/partitions/partitionManager.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
//
|
||||
// Created by nigel on 23/02/23.
|
||||
//
|
||||
|
||||
#include "partitionManager.h"
|
||||
|
||||
bool partitionManager::Validate( )
|
||||
{
|
||||
|
||||
//auto* bootParams = getBPB(this, true);
|
||||
|
||||
//if(bootParams->OEM_id) {
|
||||
// return true;
|
||||
//}
|
||||
|
||||
return true;
|
||||
|
||||
}
|
11
kernel/storage/partitions/partitionManager.h
Normal file
11
kernel/storage/partitions/partitionManager.h
Normal file
@ -0,0 +1,11 @@
|
||||
//
|
||||
// Created by nigel on 23/02/23.
|
||||
//
|
||||
#pragma once
|
||||
|
||||
class partitionManager {
|
||||
public:
|
||||
static bool Validate();
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user