This file contains hidden or 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 <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <stdint.h> | |
#include <malloc.h> | |
#include <unistd.h> | |
struct FstHdr { | |
uint32_t signature; | |
uint32_t width; |
This file contains hidden or 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 <algorithm> | |
#include <cassert> | |
#include <climits> | |
#include <cstdio> | |
#include <deque> | |
typedef std::deque<int> stack; | |
void move_top1(stack& from, stack& to, stack& spare); | |
int top(const stack& o) |
This file contains hidden or 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
ddns-update-style interim; | |
ignore client-updates; | |
subnet 192.168.10.0 netmask 255.255.255.0 { | |
option routers 192.168.10.1; | |
option subnet-mask 255.255.255.0; | |
option domain-name-servers 192.168.248.21; | |
option ntp-servers 192.168.0.1; |
This file contains hidden or 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
# tnx to mamalala | |
# Changelog | |
# Changed the variables to include the header file directory | |
# Added global var for the XTENSA tool root | |
# | |
# This make file still needs some work. | |
# | |
# Updated for SDK 0.9.2 | |
# | |
# Output directors to store intermediate compiled files |
This file contains hidden or 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
.data | |
.Lfmt: | |
.asciz ">>> 0x%08x -> 0x%08x: called from IRQ (or with interrupts disabled)\n" | |
.text | |
.global _mcount | |
.align 4 | |
.literal_position | |
.align 4 | |
_mcount: | |
movi a11, 0x40200000 |
This file contains hidden or 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 <inttypes.h> | |
#include <math.h> | |
#include <unistd.h> | |
#include <stdio.h> | |
#ifndef FREQ | |
#define FREQ 44100 | |
#endif | |
#ifndef CHANNELS |
This file contains hidden or 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
if ENABLE_FOO | |
include $(srcdir)/Makefile.foo.include | |
endif |
This file contains hidden or 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
ipv6: ipv6.c |
This file contains hidden or 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/bash -ex | |
if [ $# -gt 0 ] ; then name="$1" | |
else name=".repo/manifests/default.xml" ; fi | |
sed -i "$name" -e "\\,name=\"$REPO_PROJECT\",s, *revision=\"[^\"]*\",,g" | |
sed -i "$name" -e "\\,name=\"$REPO_PROJECT\",s,/>,revision=\"$REPO_LREV\" />,g" |
This file contains hidden or 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/bash -ex | |
# VER=3.18|4.4|4.9 ./rebuild-kernels | |
declare -A defconfig | |
declare -A cross | |
defconfig=([arm64]="ranchu64_defconfig" [x86_64]="x86_64_ranchu_defconfig") | |
cross=([arm64]="aarch64-linux-gnu-" [x86_64]="x86_64-linux-gnu-") | |
for check in 0 1 ; do |
OlderNewer