flat assembler
Message board for the users of flat assembler.

Index > OS Construction > PCI Express

Author
Thread Post new topic Reply to topic
Fulgurance



Joined: 27 Nov 2017
Posts: 200
Fulgurance
Hello, today i perform to understand how to dialog with attached devices. I have seen now actually PCI express it's the last way and method to dialog with devices. But Os Dev website isn't complete about this. Do you know some good documentation about PCI Express ?
Post 01 Apr 2020, 21:24
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 807
Location: Belarus
DimonSoft
It has a separate page for that: https://wiki.osdev.org/PCI_Express And it has the name of specification to google for in its references section.
Post 02 Apr 2020, 10:57
View user's profile Send private message Visit poster's website Reply with quote
Fulgurance



Joined: 27 Nov 2017
Posts: 200
Fulgurance
...Hum yes, i have already say i have seen this link, but it's not very full documentation.

It's mentionned: This extended configuration space *cannot* be accessed using the legacy PCI method (through ports 0xCF8 and 0xCFC).

Okay... but what way i need to use ?
Post 02 Apr 2020, 11:46
View user's profile Send private message Reply with quote
Fulgurance



Joined: 27 Nov 2017
Posts: 200
Fulgurance
Nobody?
Post 02 Apr 2020, 14:59
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 807
Location: Belarus
DimonSoft
Fulgurance wrote:
...Hum yes, i have already say i have seen this link, but it's not very full documentation.

It's mentionned: This extended configuration space *cannot* be accessed using the legacy PCI method (through ports 0xCF8 and 0xCFC).

Okay... but what way i need to use ?

https://wiki.osdev.org/PCI_Express wrote:
The PCI Express bus extends the Configuration Space from 256 bytes to 4096 bytes. This extended configuration space *cannot* be accessed using the legacy PCI method (through ports 0xCF8 and 0xCFC). Instead, an #Enhanced Configuration Mechanism is provided.

Emphasis mine. And note the References section that gives the name of the specification which is the original document for this page and any other source you might find.
Post 02 Apr 2020, 15:23
View user's profile Send private message Visit poster's website Reply with quote
Fulgurance



Joined: 27 Nov 2017
Posts: 200
Fulgurance
Yes i have already seen this link, but it's just link to this page, but page don't mention how to send this data
Post 02 Apr 2020, 15:31
View user's profile Send private message Reply with quote
N-LG



Joined: 14 Feb 2019
Posts: 37
Location: france
N-LG
the answer is in the page but needs to master the ACPI to understand it. find out about ACPI before trying to go any further in the pci express. knowledge of standard pci is sufficient to be able to detect and configure peripheral devices in pci express
Post 02 Apr 2020, 15:52
View user's profile Send private message Reply with quote
Fulgurance



Joined: 27 Nov 2017
Posts: 200
Fulgurance
Okay, i'm going to read that. Thanks. I come to you if i have other questions.
Post 02 Apr 2020, 16:44
View user's profile Send private message Reply with quote
Fulgurance



Joined: 27 Nov 2017
Posts: 200
Fulgurance
Are you sure ACPI is mandatory ?
Post 02 Apr 2020, 20:38
View user's profile Send private message Reply with quote
DimonSoft



Joined: 03 Mar 2010
Posts: 807
Location: Belarus
DimonSoft
So, reading specs is not an option, I guess?
Post 02 Apr 2020, 20:51
View user's profile Send private message Visit poster's website Reply with quote
N-LG



Joined: 14 Feb 2019
Posts: 37
Location: france
N-LG
if you want clarification on the subject I advise you to contact the authors of the page on the forum osdev.org

I have the impression that you are asking questions on many different subjects, I suggest you to focus on one subject at a time

read the documentation, even if like me it is not in your language of birth. bone programming is very complicated and you will not necessarily find a specialist ready to help you a lot.
Post 02 Apr 2020, 22:21
View user's profile Send private message Reply with quote
Fulgurance



Joined: 27 Nov 2017
Posts: 200
Fulgurance
I asking because i have finished to understand the previous subjects. I have already coded what i talk into topic.
And it's forum, yes i ask question... Normal, i coding OS...

And if i ask question, it's because some documentation isn't very clearfull...

I search usefull reply, thanks.
Post 02 Apr 2020, 23:17
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.