This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
uint64_t i4; | |
uint64_t *l4pt; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void c_gate_entry(uint64_t *regs) | |
{ | |
uint64_t gate = regs[15]; | |
unsigned ix = 0; | |
uint64_t pc; | |
uint64_t sp; | |
uint64_t cr2; | |
warn("Gate = 0x%lx", gate); | |
warn("----------------------"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import appex | |
import clipboard | |
import urllib3 | |
import os | |
def main(): | |
if not appex.is_running_extension(): | |
print('This script is intended to be run from the sharing extension.') | |
return | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <freetype2/ft2build.h> | |
#include FT_FREETYPE_H | |
int main() { | |
FT_Library ft; | |
FT_Error err = FT_Init_FreeType(&ft); | |
if (err != 0) { | |
printf("Failed to initialize FreeType\n"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c | |
index 33f71983e..f7f7114c4 100644 | |
--- a/drivers/acpi/arm64/iort.c | |
+++ b/drivers/acpi/arm64/iort.c | |
@@ -1076,12 +1076,13 @@ void iort_dma_setup(struct device *dev, u64 *dma_addr, u64 *dma_size) | |
else | |
size = 1ULL << 32; | |
- if (dev_is_pci(dev)) { | |
- ret = acpi_dma_get_range(dev, &dmaaddr, &offset, &size); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pkgin -y install xorg | |
pkgin -y install hal | |
pkgin -y install fam | |
pkgin -y install mpv compton midori firefox mozilla-rootcerts-openssl | |
pkgin -y install wpa_gui sysupgrade deluge slim slim-themes uget thunderbird | |
pkgin -y install xfce4 xfce4-extras | |
cp /usr/pkg/share/examples/rc.d/hal /etc/rc.d | |
cp /usr/pkg/share/examples/rc.d/dbus /etc/rc.d | |
cp /usr/pkg/share/examples/rc.d/famd /etc/rc.d |