LF OS
Hobby operating system for amd64 with high ambitions
|
#include <sd.h>
#include <vm.h>
#include <mq.h>
#include <uuid.h>
#include <flexarray.h>
#include <string.h>
#include <log.h>
#include <errno.h>
#include <scheduler.h>
Go to the source code of this file.
Data Structures | |
struct | sd_entry |
struct | sd |
Functions | |
void | init_sd (void) |
static struct sd_entry * | new_sd_entry (uuid_t *uuid, mq_id_t queue) |
uint64_t | sd_register (uuid_t *uuid, mq_id_t svc_queue) |
int64_t | sd_send (uuid_t *uuid, struct Message *msg) |
Variables | |
static struct sd | sd_global_data |
struct sd_entry |
struct sd |
void init_sd | ( | void | ) |
Definition at line 32 of file sd.c.
References sd::entry_shortcut, memset(), and sd_global_data.
Definition at line 36 of file sd.c.
References allocator::alloc, entry, kernel_alloc, memcpy(), memset(), queue, and sd_entry::uuid.
Definition at line 45 of file sd.c.
References ENOMEM, entry, sd::entry_shortcut, sd::head, logd, logw, new_sd_entry(), sd_entry::next, sd_entry::prev, scheduler_current_process, sd_global_data, sd::tail, sd_entry::uuid, uuid_cmp(), uuid_fmt(), and uuid_key().
Definition at line 109 of file sd.c.
References ENOENT, entry, sd::entry_shortcut, mq_push(), sd_entry::next, sd_global_data, sd_entry::uuid, uuid_cmp(), and uuid_key().