Commit 69f9f9a9 authored by Feminist Software Foundation's avatar Feminist Software Foundation
Browse files

Merge pull request #29 from averagejoey2000/m(ai)st((er)(ress))

M(ai)st((er)(ress)) New branch
parents 3c197859 f106858e
......@@ -409,3 +409,5 @@ Coding Style
Variables can be declared in any style, CamelCase, some_variable or even FoooBaRvaLue, if a variable wants to be redeclared, we shall let it.
I added a new branch of m(ai)st((re)(ress)) so as to not force wom*n and oth*rg*nd*rkin to not feel as they must conform to the accepted branch as mistress, a woman who has power over others, including other wom*n (Yes the 2nd t farthest from first( but there's nothing wrond with last) is intentional. It points out how mysoginistic and irrespectful the term of mistress is.)
......@@ -93,14 +93,9 @@ static const char *vga_iostate_to_str(unsigned int iostate)
static int vga_str_to_iostate(char *buf, int str_size, int *io_state)
/* we could in theory hand out locks on IO and mem
* separately to userspace but it can cause deadlocks */
if (strncmp(buf, "none", 4) == 0) {
*io_state = VGA_RSRC_NONE;
return 1;
/*code removed because deadlocks should be respected too*/
/* XXX We're not chekcing the str_size! */
/* We're not chekcing the str_size! */
if (strncmp(buf, "io+mem", 6) == 0)
goto both;
else if (strncmp(buf, "io", 2) == 0)
......@@ -129,28 +124,7 @@ static struct vga_device *vgadev_find(struct pci_dev *pdev)
return NULL;
/* Returns the default VGA device (vgacon's babe) */
struct pci_dev *vga_default_device(void)
return vga_default;
void vga_set_default_device(struct pci_dev *pdev)
if (vga_default == pdev)
vga_default = pci_dev_get(pdev);
static inline void vga_irq_set_state(struct vga_device *vgadev, bool state)
if (vgadev->irq_set_state)
vgadev->irq_set_state(vgadev->cookie, state);
// This code used to return something degorativly called "vga's babe" and could trigger those with a past of incest and abuse as a child.
/* If we don't ever use VGA arb we should avoid
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment