summaryrefslogtreecommitdiff
path: root/doc/kernel_interface.md
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-03-04 19:52:55 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2013-03-04 19:52:55 +0100
commit1a1cdc94d7b09b674e878a0b6a3479c0a5a54c7c (patch)
treee9023dc02a916247d678e76dcdf94ee35608526d /doc/kernel_interface.md
parent830d108382ed40d17749034ccdeeff17e7c931b3 (diff)
rename THREAD_WALKER to CL
also small documentation updates
Diffstat (limited to 'doc/kernel_interface.md')
-rw-r--r--doc/kernel_interface.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/kernel_interface.md b/doc/kernel_interface.md
index 8ed2b12..4121843 100644
--- a/doc/kernel_interface.md
+++ b/doc/kernel_interface.md
@@ -55,7 +55,9 @@ At startup, the application connects to galcore device using `open` with the dev
- `/dev/galcore`, or
- `/dev/graphics/galcore`
-Immediately after connecting the entire chunk of contiguous memory, after requesting its address and size, is mapped into user space using `mmap`.
+After connecting to the device the entire chunk of contiguous memory, after requesting its address and size,
+is mapped into user space using `mmap`. The kernel will return addresses in this range when the user space driver allocates
+contiguous (unified) memory used for communication with the GPU.
Ioctl
-------
@@ -92,8 +94,8 @@ uses the fields in `interface->u.AllocateLinearVideoMemory` to pass in the numbe
also to pass out the number of bytes actually allocated.
What is curious about the ioctl protocol is that the communication structures contains fields that are not
-used by the kernel at all, but only in user-space. There is no good reason why these values would need
-to be present in kernel-facing structures at all. The line is blurry sometimes.
+used by the kernel at all. There is no good reason why these values would need
+to be present in kernel-facing structures. The line is blurry sometimes.
It also appears that the structure has been designed with platform-independence in mind, and so some of the fields are not used in the Linux
drivers such as `status`, `handle`, `pid`.