how do i know the size of each specified CPU cache line.And does the CPU also cache the register pertains to a PCI device but not main memor...
全文
回复(5) 2002-03-29 19:12 来自版块 - ABC初学者
表情
jerf.cat pci have cache-line register in 64 dword configuration space ,use memory ,no cpu cache-line. After Pentiunm cpu,almost cpu have cach...(2002-04-06 22:28)
yanghui第二个问题可以看看PCI规格说明书2.3版,其中关于PCI配置空间中好像有一个参数用来设定是否使用缓冲,具体记不清了,就我看来,一般是对PCI设备所占用的内存进行缓冲,而不是对其寄存器,但也不一定,查查资料吧(2002-04-06 16:18)
yanghui有一个变通的方法,程序中使用汇编指令CPUID,检查当前所用CPU是何种类型,从而判断该CPU的缓冲行有多大,具体用法及返回信息可参考INTEL的开发手册(2002-04-06 16:09)
houjzshurry up. gurus(2002-04-05 15:19)
houjzshurry up , gurus.(2002-03-30 13:12)

返回顶部