#include "nul/motherboard.h"#include "nul/timer.h"#include "sys/semaphore.h"#include "service/lifo.h"#include "nul/parent.h"#include "nul/generic_service.h"#include "nul/service_timer.h"#include "nul/capalloc.h"Classes | |
| class | TimerService |
| Timer service. More... | |
| struct | TimerService::ClientData |
Functions | |
| PARAM (service_timer, unsigned cap_region=alloc_cap_region(1<< 12, 12);char *revoke_mem=new(0x1000) char[0x1000];TimerService *t=new(8) TimerService(mb, cap_region, 12, revoke_mem);MessageHostOp msg(t,"/timer", reinterpret_cast< unsigned long >(StaticPortalFunc< TimerService >::portal_func), revoke_mem);msg.crd_t=Crd(cap_region, 12, DESC_TYPE_CAP).value();if(!cap_region||!mb.bus_hostop.send(msg)) Logging::panic("starting of timer service failed");,"service_timer - multiplexes either the hosthpet or the hostpit between different clients") | |
| PARAM | ( | service_timer | , | |
| unsigned | cap_region = alloc_cap_region(1<< 12, 12);char *revoke_mem=new(0x1000) char[0x1000];TimerService *t=new(8) TimerService(mb, cap_region, 12, revoke_mem);MessageHostOp msg(t,"/timer", reinterpret_cast< unsigned long >(StaticPortalFunc< TimerService >::portal_func), revoke_mem);msg.crd_t=Crd(cap_region, 12, DESC_TYPE_CAP).value();if(!cap_region||!mb.bus_hostop.send(msg)) Logging::panic("starting of timer service failed");, |
|||
| "service_timer - multiplexes either the hosthpet or the hostpit between different clients" | ||||
| ) |
1.7.1