1,UIO驱动比较简单,使用内核自带的UIO即可 注意点:a)pdrv类型的驱动需要修改dts,compatible是加载uio_pdrv module时的of_id关键字决定的。疑问:默认值是什么? 如果uio_pdrv编译进内核,使用bootargs:uio_pdrv_genirq.of_id= ...
分类:
系统相关 时间:
2018-08-29 14:11:11
阅读次数:
312
Nginx 是C语言开发,所有需要编译安装 一. gcc 安装安装 nginx 需要先将官网下载的源码进行编译,编译依赖 gcc 环境,如果没有 gcc 环境,则需要安装: 二. PCRE pcre-devel 安装PCRE(Perl Compatible Regular Expressions) ...
分类:
其他好文 时间:
2018-08-24 17:16:39
阅读次数:
160
题目 分析 很难想到方向,但有方向了就很easy了。 我们如何减少不必要的计算? 如果我们知道了$ 100111 $的相容的数,$ 100101 $的相容数和他是完全一样的。 我们就靠着这个思想写一下就行了。 注意位运算优先级。 代码 1 #include <bits/stdc++.h> 2 usi ...
分类:
其他好文 时间:
2018-08-24 02:14:07
阅读次数:
185
gcc 安装nginx需要先将官网下载的源码进行编译,编译依赖gcc环境,如果没有gcc环境,需要安装gcc: yum install gcc-c++ PCRE PCRE(Perl Compatible Regular Expressions)是一个Perl库,包括 perl 兼容的正则表达式库。n ...
分类:
其他好文 时间:
2018-08-21 23:30:02
阅读次数:
368
问题现象: Oracle BUG,参考下列文档补丁25078431后未能解决ALERT: root.sh Fails With "CLSRSC-400" While Installing GI 12.2.0.1 on RHEL or OL with RedHat Compatible Kernel ...
分类:
其他好文 时间:
2018-08-08 13:41:48
阅读次数:
795
# coding:utf-8"""Compatible for python2.x and python3.xrequirement: pip install requests"""import requests# 请求示例 url 默认请求参数已经做URL编码from httprunner imp ...
分类:
编程语言 时间:
2018-08-07 00:25:15
阅读次数:
153
3. When lowering the value of COMPATIBLE: You cannot start the database with lower compatibility, unless restoring from a backup. This is because data ...
分类:
其他好文 时间:
2018-08-06 15:21:20
阅读次数:
151
<!DOCTYPE html><html><head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>离线存储</title> <link rel="stylesheet" hr ...
分类:
Web程序 时间:
2018-08-05 00:42:54
阅读次数:
156
index.html: <!DOCTYPE html><html manifest="cache.manifest">//指向一个cache文件<head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=e ...
分类:
移动开发 时间:
2018-08-04 15:50:14
阅读次数:
261
绚丽的3D星空动画效果 (3D星空动画可以用作网页背景,Gary为文本文字) <!doctype html> <html lang="zh"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=e ...
分类:
Web程序 时间:
2018-08-04 00:08:04
阅读次数:
653