summaryrefslogtreecommitdiffhomepage
path: root/public/frameworks/DiskImage.fwrk/src/DiskImage+OpenHeFS.cc
blob: d7d5774def3c13ededfed91aa3d1eb22e5a1e2f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: Apache-2.0
// Copyright 2024-2026, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel

#include <DiskImage.fwrk/headers/DiskImage.h>

#include <FSKit/OpenHeFS.h>
#include <FirmwareKit/EPM.h>

/// @brief format OpenHeFS over an EPM disk.
/// @param img disk image structure.
/// @return Status code upon completion.
SInt32 DI::DIFormatFilesystemOpenHeFS(struct DI_DISK_IMAGE& img) {
  NE_UNUSED(img);

  PrintOut(nullptr, "%s",
           "DIFormatFilesystemOpenHeFS is not formattable on DI, work may be done in the future to "
           "address that.");

  return kDIFailureStatus;
}