The HyperNews Linux KHG Discussion Pages
Next-in-Thread Next Message Previous Message Next Thread

Question: memcpy_*fs(): which way is "fs"?

Forum: Supporting Functions
Keywords: USER KERNEL SPACE MEMORY COPY
Date: Thu, 09 Jan 1997 05:00:55 GMT
From: Reinhold J. Gerharz <rgerharz@erols.com>

memcpy_*fs()

inline void memcpy_tofs(void * to, const void * from, unsigned long n)

inline void memcpy_fromfs(void * to, const void * from, unsigned long n)

It is not clear which way the copy occurs. Does "from" mean user space, or kernel space. Contrarily, does "to" mean kernel space or user space?

Assuming the "tofs" and "fromfs" refer to the Frame Segment register, can one assume it always points to user space? How does this carry over to other architectures? Do they have Frame Segment registers?

Next-in-Thread Next Message Previous Message Next Thread

Messages Inline: 0 1 All Outline: 1 -1 +1

1. Note: memcpy_tofs() and memcpy_fromfs() by David Hinds

to: "memcpy_*fs(): which way is "fs"?"

Subscribe Membership Move/Remove Admin Mode Show Frames Help for HyperNews 1.9.4