
工具使用类
fell_sky
这个作者很懒,什么都没留下…
展开
-
虚拟机问题自适应屏幕
虚拟机相关问题原创 2022-12-16 10:37:18 · 755 阅读 · 0 评论 -
龙芯OS看cpu频率
find -name /sys/cpufreq可以找到这个文件cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq这个是cpu0当前运行的频率原创 2022-03-09 10:24:55 · 299 阅读 · 0 评论 -
打印DevicePath
UINT16 *Path;Path = ConvertDevicePathToText(DevicePath, TRUE, TRUE);DEBUG((EFI_D_ERROR, " %d. DevPath=%s\n", __LINE__,Path));主要是通过自带的这个函数ConvertDevicePathToText打印如下:PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/Pci(0x5,0x0)/Pci...原创 2022-04-14 15:11:32 · 717 阅读 · 0 评论 -
反编译系统下的acpi表
系统下可以将/sys/firmware/acpi/tables/DSDT拷贝出来,然后用iasl -tc DSDT命令反编译一下就可以查看BIOS中的DSDT内容了。原创 2022-04-14 11:40:45 · 684 阅读 · 0 评论 -
UEFI dec,inf 中 Guid和Protocol区别
沙发原创 2022-01-21 14:00:18 · 1667 阅读 · 0 评论 -
ASPM介绍
aspm是pcie的一种省电模式。涉及到的寄存器主要是pci配置空间的如下3个寄存器。(以下已usb 3.0 控制器的pci配置空间为例子:其中:link capabilities register [11:10]是活动状态链路的PM支持位。 [11:10] = 00保留。[11:10]=01表示支持L0s。[11:10]=10又保留了。[11:10]=11表示同时支持L0s和L1。设备也使用[14:12]和[17:15]来指示L0s和L1的退出延迟。link control regis原创 2022-01-12 16:52:13 · 13707 阅读 · 0 评论 -
工作中遇到的一些小问题以及解决方案
在Linux上编译代码时,遇到以下错误信息:curses.h:No such file or directory解决链接:https://blog.youkuaiyun.com/sunxiaopengsun/article/details/79447076原创 2021-09-28 12:00:48 · 173 阅读 · 0 评论 -
更新ubuntu源
所有操作均需要sudo 权限可选命令:sudo -s1.先保存旧文件cp /etc/apt/sources.list /etc/apt/sources.list.old2.编辑源vim/etc/apt/sources.list3.在结尾增加源deb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-propertiesdeb http://mirrors.aliyun..原创 2021-08-16 10:33:12 · 119 阅读 · 0 评论 -
Linux日常工作常用命令
ls ***.c -lh(显示多少kb)find -name stdio.h -r *(寻找stdio.h).find 目录名-name stdio.h原创 2021-07-01 14:26:04 · 261 阅读 · 0 评论 -
vim+ctags+cscope 在linux编辑代码
使用vim+ctags+cscope~/.vimrc增加如下代码let Tlist_Show_One_File=1let Tlist_Exit_OnlyWindow=1let Tlist_Auto_Open=1let Tlist_Use_Right_Window=1let Tlist_Ctags_cmd="/usr/bin/ctags"nnoremap <silent> <F8> : TlistToggle<CR>nmap wq :wq<C..原创 2021-06-23 10:27:29 · 244 阅读 · 0 评论