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
package main | |
import ( | |
"fmt" | |
"io" | |
"net/http" | |
"os" | |
"strings" | |
"github.com/pin/tftp" |
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
.global _start | |
.section .text | |
_start: | |
mov x8, 0x40 //sys_write | |
mov x0, 1 //stdout | |
adrp x1, msg //msg base addr | |
add x1, x1, msg //msg offs | |
mov x2, msg_size //msg len | |
svc #0 //syscall | |
mov x8, 0x5d //sys_exit |
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
/* | |
* Asterisk -- An open source telephony toolkit. | |
* | |
* Copyright (C) 2013, Alessandro. | |
* | |
* Alessandro Carminati <alessandro.carminati[at]gmail.com> | |
* | |
* This program is free software, distributed under the terms of | |
* the GNU General Public License Version 2. See the LICENSE file | |
* at the top of the source tree. |
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 <stdlib.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <signal.h> | |
#include <sys/stat.h> | |
#include <regex.h> | |
#define MAX_BUFFER_SIZE 512 |
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
$ pahole vmlinux | sed -n '/^struct check_mount/{:start /};/!{N;b start}; p }' | |
struct check_mount { | |
struct vfsmount * mnt; /* 0 8 */ | |
unsigned int mounted; /* 8 4 */ | |
/* size: 16, cachelines: 1, members: 2 */ | |
/* padding: 4 */ | |
/* last cacheline: 16 bytes */ | |
}; | |
$ # defined in fs/dcache.c |
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
From a5bef24fe2bd9930ab5a0111b574d3df40e3d93e Mon Sep 17 00:00:00 2001 | |
From: Alessandro Carminati <alessandro.carminati@gmail.com> | |
Date: Sun, 22 Jan 2023 12:23:22 +0000 | |
Subject: [PATCH] MOD: make rk356x sata controller wirh generic-ahci driver | |
Content-type: text/plain | |
Signed-off-by: Alessandro Carminati <alessandro.carminati@gmail.com> | |
--- | |
arch/arm64/boot/dts/rockchip/rk356x.dtsi | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) |
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
From 57d511aa3b39f56980d3ddb04d934e4d26ed79c0 Mon Sep 17 00:00:00 2001 | |
From: Alessandro Carminati <alessandro.carminati@gmail.com> | |
Date: Sun, 22 Jan 2023 12:15:52 +0000 | |
Subject: [PATCH] ADD: add device tree to support Quartz64 sata variant | |
Content-type: text/plain | |
Signed-off-by: Alessandro Carminati <alessandro.carminati@gmail.com> | |
--- | |
arch/arm64/boot/dts/rockchip/Makefile | 3 +- | |
.../dts/rockchip/rk3566-quartz64-a-sata.dts | 839 ++++++++++++++++++ |
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
--- a/net/core/netpoll.c 2022-10-26 12:53:32.000000000 +0200 | |
+++ b/net/core/netpoll.c 2022-12-14 16:27:07.362323956 +0100 | |
@@ -102,7 +102,7 @@ | |
struct netpoll_info *npinfo = | |
container_of(work, struct netpoll_info, tx_work.work); | |
struct sk_buff *skb; | |
- unsigned long flags; | |
+// unsigned long flags; | |
while ((skb = skb_dequeue(&npinfo->txq))) { |