Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146690496
D49336.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
452 B
Referenced Files
None
Subscribers
None
D49336.id.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
Thu, Mar 5, 6:16 PM (7 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29281567
Default Alt Text
D49336.id.diff (452 B)
Attached To
Mode
D49336: sgx: Add a simple cdev_pg_path method
Attached
Detach File
Event Timeline
Log In to Comment