Index Index for
Section 7
Index Alphabetical
listing for K
Bottom of page Bottom of
page

kmem(7)

NAME

kmem - mapped kernel memory interface

DESCRIPTION

The kmem character special device provides access to mapped kernel memory. Byte addresses in kmem are equivalent to mapped kernel memory addresses. References to unmapped or user space addresses will return an error. Write accesses to console or PAL memory or to memory protected against writes will also return an error.

RESTRICTIONS

Because memory is read and written in aligned quadwords (eight contiguous bytes), writing fewer than all the bytes in an aligned quadword is a read- modify-write operation that is not protected against writes to the same quadword. Device registers are accessed as aligned quadwords through kmem. The kmem file is not available as a memory mapped file.

FILES

/dev/kmem

SEE ALSO

mem(7)

Index Index for
Section 7
Index Alphabetical
listing for K
Top of page Top of
page