Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F149224310
D48267.1789699985.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D48267.1789699985.diff
View Options
diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c
--- a/sys/amd64/vmm/vmm.c
+++ b/sys/amd64/vmm/vmm.c
@@ -427,8 +427,6 @@
static int
vmm_init(void)
{
- int error;
-
if (!vmm_is_hw_supported())
return (ENXIO);
@@ -449,10 +447,6 @@
if (vmm_ipinum < 0)
vmm_ipinum = IPI_AST;
- error = vmm_mem_init();
- if (error)
- return (error);
-
vmm_suspend_p = vmmops_modsuspend;
vmm_resume_p = vmmops_modresume;
diff --git a/sys/amd64/vmm/vmm_mem.h b/sys/amd64/vmm/vmm_mem.h
--- a/sys/amd64/vmm/vmm_mem.h
+++ b/sys/amd64/vmm/vmm_mem.h
@@ -32,7 +32,6 @@
struct vmspace;
struct vm_object;
-int vmm_mem_init(void);
struct vm_object *vmm_mmio_alloc(struct vmspace *, vm_paddr_t gpa, size_t len,
vm_paddr_t hpa);
void vmm_mmio_free(struct vmspace *, vm_paddr_t gpa, size_t size);
diff --git a/sys/amd64/vmm/vmm_mem.c b/sys/amd64/vmm/vmm_mem.c
--- a/sys/amd64/vmm/vmm_mem.c
+++ b/sys/amd64/vmm/vmm_mem.c
@@ -45,13 +45,6 @@
#include "vmm_mem.h"
-int
-vmm_mem_init(void)
-{
-
- return (0);
-}
-
vm_object_t
vmm_mmio_alloc(struct vmspace *vmspace, vm_paddr_t gpa, size_t len,
vm_paddr_t hpa)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Sep 18, 2:53 AM (9 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29747343
Default Alt Text
D48267.1789699985.diff (1 KB)
Attached To
Mode
D48267: amd64/vmm: Remove vmm_mem_init()
Attached
Detach File
Event Timeline
Log In to Comment