Skip to content

Instantly share code, notes, and snippets.

View dvdhrm's full-sized avatar
✔️
Fixing Whitespace, what else would you do at this time?

David Rheinsberg dvdhrm

✔️
Fixing Whitespace, what else would you do at this time?
View GitHub Profile
@dvdhrm
dvdhrm / preempt.txt
Created February 21, 2013 11:51
Kernel wait-queue preemption
Resources: {
atomic_t done = 0;
struct task *wtask;
}
Lets first have a look at the code that is executed on each CPU without
specifying any timings:
-----------------------------------+-----------------------------------
CPU 1 | CPU 2
@dvdhrm
dvdhrm / uterm_im.h
Created February 27, 2013 20:44
kmscon IM integration
/*
* uterm-input Input Method API Proposal
* This API extends the uterm library to handle input methods. An input method
* shall implement this API to be easily integrated into libuterm and all
* programs that depend on it.
* Note that this depends on the uterm-input and uterm-video parts. The
* important pieces are appended to the end of the file so you don't have to
* look it up.
*
* An IM backend shall provide a static constant "uterm_im_ops" object. kmscon
@dvdhrm
dvdhrm / modeset.c
Created March 4, 2013 16:36
DRM modesetting example
/*
* modeset - DRM Modesetting Example
*
* Written 2012-2013 by David Herrmann <dh.herrmann@googlemail.com>
* Dedicated to the Public Domain.
*/
/*
* Modesetting Example
* This example is based on:
@dvdhrm
dvdhrm / inputtest.c
Created March 28, 2013 11:51
linux-input self-tests
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <linux/input.h>
#include <linux/uinput.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@dvdhrm
dvdhrm / inputmapper.h
Created May 12, 2013 14:09
libinputmapper API proposal
/*
* libinputmapper - Input Mapper Library
*
* Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files
* (the "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
@dvdhrm
dvdhrm / xorg.0.log
Created August 1, 2013 14:50
xorg log with UEFI
[ 19.213]
X.Org X Server 1.14.2
Release Date: 2013-06-25
[ 19.213] X Protocol Version 11, Revision 0
[ 19.213] Build Operating System: Linux 3.9.7-1-ARCH x86_64
[ 19.213] Current Operating System: Linux david-mb 3.10.4 #1 SMP PREEMPT Thu Aug 1 16:12:03 CEST 2013 x86_64
[ 19.213] Kernel command line: root=/dev/sda4 init=/lib/systemd/systemd
[ 19.213] Build Date: 01 July 2013 10:48:42AM
[ 19.213]
[ 19.213] Current version of pixman: 0.30.0
diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c
index 1a35ea5..cb951b2 100644
--- a/drivers/gpu/drm/drm_sysfs.c
+++ b/drivers/gpu/drm/drm_sysfs.c
@@ -489,6 +489,11 @@ void drm_sysfs_hotplug_event(struct drm_device *dev)
}
EXPORT_SYMBOL(drm_sysfs_hotplug_event);
+static void drm_sysfs_release(struct device *dev)
+{
Aufgabe 1)
Gegeben:
S = {{p,r},{q,!t},{q,!r,s},{!r,t},{p,!q,!s},{p,q,t},{p,!q,!r,!t}}
a)
Gelte:
p < q < r < s < t
Unsere Klauseln umsortier:
{
Aufgabe 1)
Gegeben:
S = {{p,r},{q,!t},{q,!r,s},{!r,t},{p,!q,!s},{p,q,t},{p,!q,!r,!t}}
a)
Gelte:
p < q < r < s < t
Unsere Klauseln umsortier:
{
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for libevdev 0.5.
#
# Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=libevdev>.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
#