summaryrefslogtreecommitdiffhomepage
path: root/public/frameworks/DiskImage.fwrk/src/DiskImage+OpenHeFS.cc
blob: 1d3842c98827786186f8f622449518b08c1c3c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2024-2025, 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;
}