diff options
author | 2018-07-03 20:40:25 +0000 | |
---|---|---|
committer | 2018-07-03 20:40:25 +0000 | |
commit | f3455eb0b8e16ab2d49d500c726897bd8a99a94d (patch) | |
tree | ff524b59b7165dce99b3f1b506bde7e56547570e /sys/lib/libkern/arch | |
parent | Make intrframe the exact same size as trapframe: instead of pushing (diff) | |
download | wireguard-openbsd-f3455eb0b8e16ab2d49d500c726897bd8a99a94d.tar.xz wireguard-openbsd-f3455eb0b8e16ab2d49d500c726897bd8a99a94d.zip |
Add a new so_seek member to "struct file" such that we can have seekable
files that aren't vnodes. Move the vnode-specific code into its own
function. Add an implementation for the "DMA buffers" that can be used
by DRI3/prime code to find out the size of the graphics buffer.
This implementation is very limited and only supports offset 0 and only
for SEEK_SET and SEEK_END. This doesn't really make sense; implementing
stat(2) would be a more obvious choice. But this is what Linux does.
ok guenther@, visa@
Diffstat (limited to 'sys/lib/libkern/arch')
0 files changed, 0 insertions, 0 deletions