Support Armbian arm64

This commit is contained in:
Nick Peng
2019-03-03 11:35:11 +08:00
parent 7ee15e4075
commit e0af4e4339
3 changed files with 5 additions and 1 deletions

View File

@@ -131,6 +131,7 @@ Download the matching version of the SmartDNS installation package. The correspo
|system |package|Description
|-----|-----|-----
|Standard Linux system (Raspberry Pi)| smartdns.xxxxxxxx.armhf.deb|Support Raspberry Pi Raspbian stretch, Debian 9 system.
|Standard Linux system (Armbian arm64)| smartdns.xxxxxxxx.arm64.deb|Support Armbian debian stretch, Debian 9 system.
|Standard Linux system (x86_64)| smartdns.xxxxxxxx.x86_64.tar.gz|Support for x86_64 Linux systems.
|Windows 10 WSL (Ubuntu)| smartdns.xxxxxxxx.x86_64.tar.gz|Windows 10 WSL ubuntu.
|Standard Linux system (x86)| smartdns.xxxxxxxx.x86.tar.gz|Support for x86_64 systems.

View File

@@ -134,6 +134,7 @@ rtt min/avg/max/mdev = 5.954/6.133/6.313/0.195 ms
|系统 |安装包|说明
|-----|-----|-----
|标准Linux系统(树莓派)| smartdns.xxxxxxxx.armhf.deb|支持树莓派Raspbian stretchDebian 9系统。
|标准Linux系统(Armbian arm64)| smartdns.xxxxxxxx.arm64.deb|支持ARM64的Debian stretchDebian 9系统。
|标准Linux系统(x86_64)| smartdns.xxxxxxxx.x86_64.tar.gz|支持x86_64 Linux 系统。
|Windows 10 WSL (ubuntu)| smartdns.xxxxxxxx.x86_64.tar.gz|支持Windows 10 WSL ubuntu系统。
|标准Linux系统(x86)| smartdns.xxxxxxxx.x86.tar.gz|支持x86系统。

View File

@@ -290,8 +290,10 @@ static void _sig_error_exit(int signo, siginfo_t *siginfo, void *ct)
#elif defined(__x86_64__)
int *pgregs = (int *)(&(context->uc_mcontext.gregs));
PC = pgregs[REG_RIP];
#elif defined(__aarch64__) || defined(__arm__)
#elif defined(__arm__)
PC = context->uc_mcontext.arm_pc;
#elif defined(__aarch64__)
PC = context->uc_mcontext.pc;
#elif defined(__mips__)
PC = context->uc_mcontext.pc;
#endif