First iteration of denali server

This commit is contained in:
Drew Galbraith 2023-06-15 16:20:29 -07:00
parent 82b1a5c4db
commit ffa2d97a64
18 changed files with 273 additions and 39 deletions

View file

@ -1,13 +1,16 @@
#include <mammoth/channel.h>
#include <mammoth/debug.h>
#include <stdint.h>
#include "ahci/ahci_driver.h"
#include "denali_server.h"
int main(uint64_t bootstrap_cap) {
AhciDriver driver;
RET_ERR(driver.Init());
while (1) {
};
DenaliServer server(bootstrap_cap, driver);
RET_ERR(server.RunServer());
// FIXME: Add thread join.
return 0;
}