[Mammoth] Move remaining classes to a shared folder.

This commit is contained in:
Drew Galbraith 2023-11-22 14:39:27 -08:00
parent c42fb858ba
commit 5f8d577948
39 changed files with 55 additions and 56 deletions

View file

@ -1,6 +1,6 @@
#include "fs/ext2/ext2_block_reader.h"
#include "mammoth/debug.h"
#include <mammoth/util/debug.h>
glcr::ErrorOr<glcr::SharedPtr<Ext2BlockReader>> Ext2BlockReader::Init(
const DenaliInfo& denali_info) {

View file

@ -3,7 +3,7 @@
#include <denali/denali.yunq.client.h>
#include <glacier/memory/shared_ptr.h>
#include <glacier/status/error_or.h>
#include <mammoth/memory_region.h>
#include <mammoth/util/memory_region.h>
#include <yellowstone/yellowstone.yunq.h>
#include "fs/ext2/ext2.h"

View file

@ -1,7 +1,7 @@
#include "fs/ext2/ext2_driver.h"
#include <glacier/string/string.h>
#include <mammoth/debug.h>
#include <mammoth/util/debug.h>
glcr::ErrorOr<Ext2Driver> Ext2Driver::Init(const DenaliInfo& denali_info) {
ASSIGN_OR_RETURN(glcr::SharedPtr<Ext2BlockReader> reader,

View file

@ -1,7 +1,5 @@
#include "fs/ext2/inode_table.h"
#include <mammoth/debug.h>
InodeTable::InodeTable(const glcr::SharedPtr<Ext2BlockReader>& reader,
OwnedMemoryRegion&& bgdt_region)
: ext2_reader_(reader),

View file

@ -1,6 +1,7 @@
#pragma once
#include <glacier/container/vector.h>
#include <mammoth/util/memory_region.h>
#include <stdint.h>
#include "fs/ext2/ext2_block_reader.h"