drop segment from safecopy invocations
. all invocations were S or D, so can safely be dropped to prepare for the segmentless world . still assign D to the SCP_SEG field in the message to make previous kernels usable
This commit is contained in:
@@ -559,7 +559,7 @@
|
||||
|
||||
/* Field names for SYS_SAFECOPY* */
|
||||
#define SCP_FROM_TO m2_i1 /* from/to whom? */
|
||||
#define SCP_SEG m2_i2 /* my own segment */
|
||||
#define SCP_SEG_OBSOLETE m2_i2 /* my own segment */
|
||||
#define SCP_GID m2_i3 /* grant id */
|
||||
#define SCP_OFFSET m2_l1 /* offset within grant */
|
||||
#define SCP_ADDRESS m2_p1 /* my own address */
|
||||
|
||||
@@ -148,9 +148,9 @@ int sys_physcopy(endpoint_t src_proc, int src_seg, vir_bytes src_vir,
|
||||
|
||||
/* Grant-based copy functions. */
|
||||
int sys_safecopyfrom(endpoint_t source, cp_grant_id_t grant, vir_bytes
|
||||
grant_offset, vir_bytes my_address, size_t bytes, int my_seg);
|
||||
grant_offset, vir_bytes my_address, size_t bytes);
|
||||
int sys_safecopyto(endpoint_t dest, cp_grant_id_t grant, vir_bytes
|
||||
grant_offset, vir_bytes my_address, size_t bytes, int my_seg);
|
||||
grant_offset, vir_bytes my_address, size_t bytes);
|
||||
int sys_vsafecopy(struct vscp_vec *copyvec, int elements);
|
||||
|
||||
int sys_memset(endpoint_t who, unsigned long pattern,
|
||||
|
||||
Reference in New Issue
Block a user