Classes | Functions

base/apps/sigma0/service_fs.cc File Reference

#include "nul/motherboard.h"
#include "nul/generic_service.h"
#include "nul/service_fs.h"
#include "nul/baseprogram.h"

Classes

class  Service_fs

Functions

 PARAM (service_romfs, Service_fs *t=new Service_fs(mb);MessageHostOp msg(t,"/fs/rom", reinterpret_cast< unsigned long >(StaticPortalFunc< Service_fs >::portal_func), 0, false);msg.portal_pf=reinterpret_cast< unsigned long >(Service_fs::portal_pagefault);msg.excbase=alloc_cap_region(16 *mb.hip()->cpu_count(), 4);msg.excinc=4;if(!msg.excbase||!mb.bus_hostop.send(msg)) Logging::panic("registering the service failed");,"romfs - instanciate a file service providing the boot files")

Function Documentation

PARAM ( service_romfs  ,
Service_fs t = new Service_fs(mb);MessageHostOp msg(t,"/fs/rom", reinterpret_cast< unsigned long >(StaticPortalFuncService_fs >::portal_func), 0, false);msg.portal_pf=reinterpret_cast< unsigned long >(Service_fs::portal_pagefault);msg.excbase=alloc_cap_region(16 *mb.hip()->cpu_count(), 4);msg.excinc=4;if(!msg.excbase||!mb.bus_hostop.send(msg)) Logging::panic("registering the service failed");,
"romfs - instanciate a file service providing the boot files"   
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines