diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2012-05-22 10:59:14 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-01-09 14:32:47 +1000 |
commit | 827ac5471ac6b03d7a74e8fe0805787b0b3c8364 (patch) | |
tree | c493524ff33dedb9f6aa54b51832b4947921f75b /nvkm/include/subdev/bios/bit.h | |
download | nouveau-827ac5471ac6b03d7a74e8fe0805787b0b3c8364.tar.gz |
initial import of nouveau kernel module core, some simple tools, and drm
Ignore (or, if you're really keen, fix) any of the horrors that are part
of the emulate-linux-on-libpciaccess (lib/) layer. When I started down
this path I was only aiming to prototype the reworked driver core, and
never actually intended on going quite this far with things, but it turns
out that being able to develop and test the nouveau core from userspace
is *very* useful.
This tree is based on the code available as of Linux 3.8-rc2.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'nvkm/include/subdev/bios/bit.h')
-rw-r--r-- | nvkm/include/subdev/bios/bit.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/nvkm/include/subdev/bios/bit.h b/nvkm/include/subdev/bios/bit.h new file mode 100644 index 000000000..73f060b07 --- /dev/null +++ b/nvkm/include/subdev/bios/bit.h @@ -0,0 +1,13 @@ +#ifndef __NVBIOS_BIT_H__ +#define __NVBIOS_BIT_H__ + +struct bit_entry { + u8 id; + u8 version; + u16 length; + u16 offset; +}; + +int bit_entry(struct nouveau_bios *, u8 id, struct bit_entry *); + +#endif |