mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
cpu: change all _cpu()->vmmctx to current_vmm_context
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user