From 827ac5471ac6b03d7a74e8fe0805787b0b3c8364 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Tue, 22 May 2012 10:59:14 +1000 Subject: 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 --- bin/nv_wi16.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 bin/nv_wi16.c (limited to 'bin/nv_wi16.c') diff --git a/bin/nv_wi16.c b/bin/nv_wi16.c new file mode 100644 index 000000000..dc815e7e9 --- /dev/null +++ b/bin/nv_wi16.c @@ -0,0 +1,6 @@ +#define FMTADDR "0x%08lx" +#define FMTDATA "0x%04x" +#define NAME "nv_wi16" +#define CAST u16 +#define MAIN main +#include "nv_wifunc.h" -- cgit v1.2.1