From 5a3e0ba541a749f8840c8087b9b2288cef379f99 Mon Sep 17 00:00:00 2001 From: "Justin C. Miller" Date: Tue, 17 Jan 2023 18:44:16 -0700 Subject: [PATCH] [definitions] Fix comment to clarify map_phys size units system_map_phys takes a size in bytes, not pages. --- definitions/objects/system.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/definitions/objects/system.def b/definitions/objects/system.def index 5ae0526..c95ac02 100644 --- a/definitions/objects/system.def +++ b/definitions/objects/system.def @@ -28,7 +28,7 @@ object system : object { method map_phys [cap:map_phys] { param area ref vma [out] # Receives a handle to the VMA created param phys address # The physical address of the area - param size size # Size of the area, in pages + param size size # Size of the area, in bytes param flags uint32 # Flags to apply to the created VMA }