From 3e88a00f88e39420c44fcdcea873c8b0c3f6f105 Mon Sep 17 00:00:00 2001 From: Alejandro Sior Date: Fri, 29 Jul 2022 10:43:46 +0200 Subject: mem: correct return type of unmap --- mem/errors.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mem/errors.h') diff --git a/mem/errors.h b/mem/errors.h index e926214..3bd740c 100644 --- a/mem/errors.h +++ b/mem/errors.h @@ -6,7 +6,11 @@ enum mem_error { /* Returned when an implementation does not support one of the vmap operations */ - MEM_VMAP_UNSUPPORTED + MEM_VMAP_UNSUPPORTED, + + /* Returned when a mapping that overlaps with another + was requested */ + MEM_VMAP_OVERLAPPING }; #endif \ No newline at end of file -- cgit v1.2.3