LF OS
Hobby operating system for amd64 with high ambitions
Loading...
Searching...
No Matches
sd.h File Reference

(7c4d7d1 userspace/term: change eyecandy inclusion to use objcopy instead of xxd)

#include <uuid.h>
#include <mq.h>
+ Include dependency graph for sd.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void init_sd (void)
 
uint64_t sd_register (uuid_t *uuid, mq_id_t mq)
 
int64_t sd_send (uuid_t *uuid, struct Message *msg)
 

Function Documentation

◆ init_sd()

void init_sd ( void  )

Definition at line 32 of file sd.c.

References sd::entry_shortcut, memset(), and sd_global_data.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sd_register()

uint64_t sd_register ( uuid_t uuid,
mq_id_t  mq 
)

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ sd_send()

int64_t sd_send ( uuid_t uuid,
struct Message msg 
)

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: