Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177571286
D49336.1794770576.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
452 B
Referenced Files
None
Subscribers
None
D49336.1794770576.diff
View Options
diff --git a/sys/amd64/sgx/sgx.c b/sys/amd64/sgx/sgx.c
--- a/sys/amd64/sgx/sgx.c
+++ b/sys/amd64/sgx/sgx.c
@@ -593,10 +593,17 @@
return (VM_PAGER_FAIL);
}
+static void
+sgx_pg_path(void *handle, char *path, size_t len)
+{
+ strlcpy(path, "sgx", len);
+}
+
static struct cdev_pager_ops sgx_pg_ops = {
.cdev_pg_ctor = sgx_pg_ctor,
.cdev_pg_dtor = sgx_pg_dtor,
.cdev_pg_fault = sgx_pg_fault,
+ .cdev_pg_path = sgx_pg_path,
};
static void
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 7:22 PM (4 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41747381
Default Alt Text
D49336.1794770576.diff (452 B)
Attached To
Mode
D49336: sgx: Add a simple cdev_pg_path method
Attached
Detach File
Event Timeline