cpu: change all _cpu()->vmmctx to current_vmm_context

This commit is contained in:
Matheus
2024-09-15 18:07:05 -03:00
parent e058d62261
commit 32392573cc
6 changed files with 43 additions and 35 deletions
-1
View File
@@ -400,7 +400,6 @@ void pipefs_init() {
}
int pipefs_newpipe(vnode_t **nodep) {
__assert(_cpu()->intstatus);
vnode_t *vnode = slab_allocate(nodecache);
pipenode_t *node = (pipenode_t *)vnode;
if (node == NULL)
-1
View File
@@ -266,7 +266,6 @@ void sockfs_init() {
}
int sockfs_newsocket(vnode_t **nodep, socket_t *socket) {
__assert(_cpu()->intstatus);
vnode_t *vnode = slab_allocate(nodecache);
socketnode_t *node = (socketnode_t *)vnode;
if (node == NULL)