微星

MSI和MSI-X中断机制

微笑、不失礼 提交于 2019-12-04 15:03:04
在 PCI 总线中,所有需要提交中断请求的设备,必须能够通过 INTx 引脚提交中断请求,而 MSI 机制是一个可选机制。而在 PCIe 总线中, PCIe 设备必须支持 MSI 或者 MSI-X 中断请求机制,而可以不支持 INTx 中断消息。 在 PCIe 总线中, MSI 和 MSI-X 中断机制使用存储器写请求 TLP 向处理器提交中断请求,下文为简便起见将传递 MSI/MSI-X 中断消息的存储器写报文简称为 MSI/MSI-X 报文。不同的处理器使用了不同的机制处理这些 MSI/MSI-X 中断请求,如 PowerPC 处理器使用 MPIC 中断控制器处理 MSI/MSI-X 中断请求,本章将在第 6.2 节中介绍这种处理情况;而 x86 处理器使用 FSB Interrupt Message 方式处理 MSI/MSI-X 中断请求。 不同的处理器对 PCIe 设备发出的 MSI 报文的解释并不相同。但是 PCIe 设备在提交 MSI 中断请求时,都是向 MSI/MSI-X Capability 结构中的 Message Address 的地址写 Message Data 数据,从而组成一个存储器写 TLP ,向处理器提交中断请求. 有些 PCIe 设备还可以支持 Legacy 中断方式 [1] 。但是 PCIe 总线并不鼓励其设备使用 Legacy 中断方式

Electron create MSI installer using electron-builder

匿名 (未验证) 提交于 2019-12-03 08:41:19
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I managed to create an .exe installer for windows using electron builder, I create 2 package.json as pointed out in the docs : https://github.com/electron-userland/electron-builder . I ended up having a folder with a working .exe "dist:win64": "./node_modules/.bin/build --platform win32 --arch x64" The build section of my main package.json is "build": { "app-bundle-id": "org.test.mytest", "app-category-type": "public.app-category.graphics-design", "osx": { "contents": [ { "x": 410, "y": 150, "type": "link", "path": "/Applications" }, { "x":

Wix: single MSI instead of msi + cab

匿名 (未验证) 提交于 2019-12-03 02:44:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My Wix project creates install.msi and cab1.cab. How can I have it bundle everything into the msi? I will likely use 7-zip SFX to work around this but I have seen other apps with only a single msi. 回答1: You didn't post any source but I assume your wxs file has a Media element. Just set the EmbedCab attribute to "yes". 回答2: Set EmbedCab="yes" . Since WIX 3.8: <MediaTemplate EmbedCab="yes" /> Before WIX 3.8: <Media Id="1" Cabinet="cab1.cab" EmbedCab="yes" /> 回答3: Use it like this : <Media Id="1" Cabinet="CabFileName.cab" EmbedCab="yes" /> Also

Automated MSI installation

匿名 (未验证) 提交于 2019-12-03 01:55:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: What is the best way to automatically install an MSI file or installer .exe? We want to do some automated testing from our build system on the installed copy of the product. Our installer has the usual license acceptance screen, install location, etc. As FryHard pointed out there are two options in particular that seem handy: "/quiet" - no use interaction "/passive" - process bar only, unattended mode 回答1: To automate the insatllation of an MSI package, you can use the /I option, like this: msiexec.exe /qn /i mypackage.msi Keep in mind that

Windows Management Instrumentation msi install remote machine

匿名 (未验证) 提交于 2019-12-03 01:46:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to install a msi on a remote machine , i changed DCOM Config to get access from my machine when using methode install of win32_product it fails with return output 1601 ( that means that Windows Installer service could not be accessed ) i did some research in the net , and run the service manually using services.msc and did msiexec / unreg and msiexec /register , still not working ps: both machines a running on windows 10 here is my code Ps : i used the same code for win32_Bios to get SerialNumber and it works try { \\machine is

Use cx-freeze to create an msi that adds a shortcut to the desktop

匿名 (未验证) 提交于 2019-12-03 01:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am using cx-freeze to create an MSI installer for a Python application. How can I install a link to the application from the desktop? 回答1: To create a shortcut to the application, give the shortCutName and shortcutDir options to the Executable. The shortcutDir can name any of the System Folder Properties (thanks Aaron). For example: from cx_Freeze import * setup ( executables = [ Executable ( "MyApp.py" , shortcutName = "DTI Playlist" , shortcutDir = "DesktopFolder" , ) ] ) You can also add items to the MSI Shortcut table. This

win8,win10无法安装svn,node等msi程序解决方法

匿名 (未验证) 提交于 2019-12-03 00:18:01
win8,win10无法安装svn,node等msi程序解决方法,安装不上是因为当前的用户身份没有系统管理员的操作权限。 解决办法就是使用系统管理员的权限来安装。 第一种方式:https://blog.csdn.net/zhige_j/article/details/78259471 已经验证是可以解决的 msiexec /package "D:\TortoiseSVN-x64-svn-1.8.1.msi" 第二种方式:https://blog.csdn.net/a458339341/article/details/53220275 未验证 那么您不妨试试这个方法 : 打开任务管理器--->详细信息--->找到explorer.exe 如图 如图 用此方法安装成功的小伙伴不妨回来支持一下! 文章来源: win8,win10无法安装svn,node等msi程序解决方法

msxml6_x86.msi和msxml6_ia64.msi和msxml6_x64.msi的选择

匿名 (未验证) 提交于 2019-12-03 00:18:01
安装Microsoft Office 2010 提示需要安装MSXML版本6.10.1129.0 。那么msxml6_x86.msi和msxml6_ia64.msi和msxml6_x64.msi的选择: 32位的win7使用msxml6_x86.msi,64位的win7使用msxml6_x64.msi,msxml6_ia64.msi适用于Intel安腾64位处理器。 转载请标明出处: msxml6_x86.msi和msxml6_ia64.msi和msxml6_x64.msi的选择 文章来源: msxml6_x86.msi和msxml6_ia64.msi和msxml6_x64.msi的选择

PCI常用接口函数

匿名 (未验证) 提交于 2019-12-02 23:52:01
pci_enable_device(pdev); pci_set_master(pdev); pci_find_capability(pdev, PCI_CAP_ID_MSI); pci_alloc_irq_vector()pdev,1,32,PCI_IRQ_MSI); //pci_enable_msi(); 读,写,abort 地址写配置空间偏移0x54的地址(64位,高32位一般为0) 还有就是 dma_set_mask(&(pdev->dev, DMA_BIT_MASK(64)); request_irq(pdev->irq + i , msi_handle_function, IRQF_SHARED, "edma_msi_irq", (void*) var); pci_alloc_consistent(pdev,mpara_dma_size,&dma_addr);//dma_addr 是物理地址 返回值是虚拟地址 文章来源: https://blog.csdn.net/weixin_38987932/article/details/98111607