Skip to content

Commit

Permalink
mm: prototype for mmap() response handler
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Nov 30, 2024
1 parent f36c1ee commit ab5fb0e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/include/kernel/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include <sys/types.h>
#include <kernel/boot.h>
#include <kernel/sched.h>
#include <kernel/servers.h>

/* this must be defined on a platform-specific basis */
/* it defines the page size and other necessary attributes for paging */
Expand Down Expand Up @@ -110,4 +111,6 @@ uintptr_t vtop(Thread *, uintptr_t);

void *mmap(Thread *, uint64_t, void *, size_t, int, int, int, off_t);
int munmap(Thread *, void *, size_t);
int msync(Thread *, uint64_t, void *, size_t, int);
int msync(Thread *, uint64_t, void *, size_t, int);

void mmapHandle(MmapCommand *, SyscallRequest *);

0 comments on commit ab5fb0e

Please sign in to comment.