No linear addresses in message delivery
- removes p_delivermsg_lin item from the process structure and code related to it - as the send part, the receive does not need to use the PHYS_COPY_CATCH() and umap_local() couple. - The address space of the target process is installed before delivermsg() is called. - unlike the linear address, the virtual address does not change when paging is turned on nor after fork().
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
#define EFAULT_SRC (-995)
|
||||
#define EFAULT_DST (-994)
|
||||
|
||||
#define FIXLINMSG(prp) { prp->p_delivermsg_lin = umap_local(prp, D, prp->p_delivermsg_vir, sizeof(message)); }
|
||||
|
||||
#define PHYS_COPY_CATCH(src, dst, size, a) { \
|
||||
catch_pagefaults++; \
|
||||
a = phys_copy(src, dst, size); \
|
||||
|
||||
Reference in New Issue
Block a user