[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,7 +1,7 @@
#include "ahci/ahci_device.h"
#include <glacier/status/error.h>
#include <mammoth/debug.h>
#include <mammoth/util/debug.h>
#include <string.h>
#include <zcall.h>

View file

@ -1,7 +1,7 @@
#pragma once
#include <glacier/status/error.h>
#include <mammoth/memory_region.h>
#include <mammoth/util/memory_region.h>
#include <ztypes.h>
#include "ahci/ahci.h"

View file

@ -2,7 +2,7 @@
#include <glacier/status/error.h>
#include <glacier/status/error_or.h>
#include <mammoth/debug.h>
#include <mammoth/util/debug.h>
#include <stdint.h>
#include <zcall.h>

View file

@ -1,6 +1,6 @@
#include <mammoth/debug.h>
#include <mammoth/init.h>
#include <mammoth/util/debug.h>
#include <mammoth/util/init.h>
#include <stdint.h>
#include <yellowstone/yellowstone.yunq.client.h>

View file

@ -2,7 +2,7 @@
#include <glacier/memory/move.h>
#include <glacier/status/error.h>
#include <mammoth/debug.h>
#include <mammoth/util/debug.h>
#include <zcall.h>
glcr::ErrorOr<glcr::UniquePtr<DenaliServer>> DenaliServer::Create(

View file

@ -1,7 +1,7 @@
// Generated file -- DO NOT MODIFY.
#include "denali.yunq.server.h"
#include <mammoth/debug.h>
#include <mammoth/util/debug.h>
#include <zcall.h>
namespace {

View file

@ -1,6 +1,6 @@
#include "framebuffer/console.h"
#include <mammoth/debug.h>
#include <mammoth/util/debug.h>
void Console::WriteChar(char c) {
if (c == '\n') {

View file

@ -1,6 +1,6 @@
#pragma once
#include <mammoth/memory_region.h>
#include <mammoth/util/memory_region.h>
#include <yellowstone/yellowstone.yunq.h>
class Framebuffer {

View file

@ -1,7 +1,7 @@
#include "framebuffer/psf.h"
#include <glacier/memory/move.h>
#include <mammoth/debug.h>
#include <mammoth/util/debug.h>
namespace {

View file

@ -1,6 +1,6 @@
#pragma once
#include <mammoth/memory_region.h>
#include <mammoth/util/memory_region.h>
struct PsfHeader {
uint32_t magic; /* magic bytes to identify PSF */

View file

@ -1,5 +1,5 @@
#include <mammoth/debug.h>
#include <mammoth/init.h>
#include <mammoth/util/debug.h>
#include <mammoth/util/init.h>
#include <victoriafalls/victoriafalls.yunq.client.h>
#include <yellowstone/yellowstone.yunq.client.h>

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"

View file

@ -1,7 +1,7 @@
// Generated file -- DO NOT MODIFY.
#include "victoriafalls.yunq.server.h"
#include <mammoth/debug.h>
#include <mammoth/util/debug.h>
#include <zcall.h>
namespace {

View file

@ -1,5 +1,5 @@
#include <mammoth/debug.h>
#include <mammoth/init.h>
#include <mammoth/util/debug.h>
#include <mammoth/util/init.h>
#include <yellowstone/yellowstone.yunq.client.h>
#include "fs/ext2/ext2_driver.h"

View file

@ -1,7 +1,7 @@
#include "victoriafalls_server.h"
#include <glacier/string/str_split.h>
#include <mammoth/debug.h>
#include <mammoth/util/debug.h>
#include <zcall.h>
glcr::ErrorOr<glcr::UniquePtr<VFSServer>> VFSServer::Create(

View file

@ -2,8 +2,8 @@
#include <glacier/memory/move.h>
#include <glacier/status/error.h>
#include <mammoth/debug.h>
#include <mammoth/memory_region.h>
#include <mammoth/util/debug.h>
#include <mammoth/util/memory_region.h>
#include <zcall.h>
#include <zglobal.h>

View file

@ -1,7 +1,7 @@
#include "hw/pcie.h"
#include <mammoth/debug.h>
#include <mammoth/init.h>
#include <mammoth/util/debug.h>
#include <mammoth/util/init.h>
#include <zcall.h>
#define PCI_DEBUG 0

View file

@ -1,7 +1,7 @@
// Generated file -- DO NOT MODIFY.
#include "yellowstone.yunq.server.h"
#include <mammoth/debug.h>
#include <mammoth/util/debug.h>
#include <zcall.h>
namespace {

View file

@ -1,9 +1,9 @@
#include <glacier/string/str_format.h>
#include <glacier/string/str_split.h>
#include <mammoth/debug.h>
#include <mammoth/init.h>
#include <mammoth/memory_region.h>
#include <mammoth/proc/process.h>
#include <mammoth/util/debug.h>
#include <mammoth/util/init.h>
#include <mammoth/util/memory_region.h>
#include <zcall.h>
#include <ztypes.h>

View file

@ -2,9 +2,9 @@
#include <denali/denali.yunq.client.h>
#include <glacier/string/string.h>
#include <mammoth/debug.h>
#include <mammoth/init.h>
#include <mammoth/memory_region.h>
#include <mammoth/util/debug.h>
#include <mammoth/util/init.h>
#include <mammoth/util/memory_region.h>
#include <stdlib.h>
#include <zcall.h>