I have a PCIe graphics card. I want to access it. From what I have heard, I need to find it with PCIe enumeration. I just don't know how to do this.
What I'm Programming with:
QEMU
MinGW-w64
NASM
Notepad
Code::Blocks
Windows 8.1
What I want to run it on:
QEMU
something bootable
PCIe enumeration
-
- Posts: 22
- Joined: Mon Nov 19, 2018 12:13 pm
- Libera.chat IRC: WhatIsThis
PCIe enumeration
- Mitchell Barnes the Confused Idiot
17 years old and programming assembly
“If you're going to tell me to give up then you're wasting time that you could be using to help someone else”
“Assembly is more readable and easy to use than c. Change my mind”
17 years old and programming assembly
“If you're going to tell me to give up then you're wasting time that you could be using to help someone else”
“Assembly is more readable and easy to use than c. Change my mind”
- eryjus
- Member
- Posts: 286
- Joined: Fri Oct 21, 2011 9:47 pm
- Libera.chat IRC: eryjus
- Location: Tustin, CA USA
Re: PCIe enumeration
Adam
The name is fitting: Century Hobby OS -- At this rate, it's gonna take me that long!
Read about my mistakes and missteps with this iteration: Journal
"Sometimes things just don't make sense until you figure them out." -- Phil Stahlheber
The name is fitting: Century Hobby OS -- At this rate, it's gonna take me that long!
Read about my mistakes and missteps with this iteration: Journal
"Sometimes things just don't make sense until you figure them out." -- Phil Stahlheber
Re: PCIe enumeration
BTW, are you aware that QEMU is emulating a graphics card, and doesn't give you access to the host card?
As I recall from your last topic on the matter, you have an nVidia graphics chip. So, if you want to develop a graphics driver for that thing, you are going to need access to documentation that nVidia only hands out on NDA. Which means you can't release the resulting source code. And you have to deal directly with nVidia, who might just brush you off. You might look at the nouveau source code, though. However, that is all pie in the sky, considering you haven't even got PCI enumeration to work.
As I recall from your last topic on the matter, you have an nVidia graphics chip. So, if you want to develop a graphics driver for that thing, you are going to need access to documentation that nVidia only hands out on NDA. Which means you can't release the resulting source code. And you have to deal directly with nVidia, who might just brush you off. You might look at the nouveau source code, though. However, that is all pie in the sky, considering you haven't even got PCI enumeration to work.
Carpe diem!
-
- Posts: 22
- Joined: Mon Nov 19, 2018 12:13 pm
- Libera.chat IRC: WhatIsThis
Re: PCIe enumeration
Actually I have an rx560
- Mitchell Barnes the Confused Idiot
17 years old and programming assembly
“If you're going to tell me to give up then you're wasting time that you could be using to help someone else”
“Assembly is more readable and easy to use than c. Change my mind”
17 years old and programming assembly
“If you're going to tell me to give up then you're wasting time that you could be using to help someone else”
“Assembly is more readable and easy to use than c. Change my mind”