PatchworkOS
Loading...
Searching...
No Matches
note.c File Reference
#include <kernel/ipc/note.h>
#include <kernel/cpu/smp.h>
#include <kernel/log/log.h>
#include <kernel/sched/thread.h>
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

static bool note_queue_compare_buffers (const void *a, uint64_t aLength, const void *b, uint64_t bLength)
 
void note_queue_init (note_queue_t *queue)
 Initialize a note queue.
 
uint64_t note_queue_length (note_queue_t *queue)
 Get the length of a note queue.
 
uint64_t note_queue_write (note_queue_t *queue, const void *buffer, uint64_t count)
 Write a note to a note queue.
 
void note_interrupt_handler (interrupt_frame_t *frame, cpu_t *self)
 Note interrupt handler.
 

Function Documentation

◆ note_queue_compare_buffers()

static bool note_queue_compare_buffers ( const void *  a,
uint64_t  aLength,
const void *  b,
uint64_t  bLength 
)
static

Definition at line 12 of file note.c.

References memcmp().

Referenced by note_queue_write().