Re: PCI scan - what's up with this bits 0 and 1 of reg number?
Posted: Thu Oct 29, 2009 2:20 pm
nobody asked you anything, frontyfronty wrote:No.dak91 wrote:can you write me code of inportl and outportl? I've some mistakes
The Place to Start for Operating System Developers
http://f.osdev.org/
nobody asked you anything, frontyfronty wrote:No.dak91 wrote:can you write me code of inportl and outportl? I've some mistakes
You didn't specify who the "you" was in your question. Also, it is very rude to ask for code, especially for people to write you code. Also, you tried to hijack the thread, which is about PCI. Also, you can easily google a myriad of inport/outport implementations. Also, you do not even show your code, so people can comment on it. Go hide under a rock now.dak91 wrote:nobody asked you anything, frontyfronty wrote:No.dak91 wrote:can you write me code of inportl and outportl? I've some mistakes
I know, but when I use 64bit variable with "out" and "in" assembly istructions gcc returns errorr. Around the web I found only in and out C functions for 8, 16 and 32 bit. but you're right, this question is OT (even if ask to post one line of code imo isn't a crime)jal wrote:
You didn't specify who the "you" was in your question. Also, it is very rude to ask for code, especially for people to write you code. Also, you tried to hijack the thread, which is about PCI. Also, you can easily google a myriad of inport/outport implementations. Also, you do not even show your code, so people can comment on it. Go hide under a rock now.
JAL
Read about the "IN" instruction in Volume 2A of the Intel Manuals (page 3-495, to save you the trouble). Also try page 4-17 of Volume 2B, which describes the "OUT" instruction. Then you'll realise it's probably best to do your research before you post if you want to be taken seriously.I know, but when I use 64bit variable with "out" and "in" assembly istructions gcc returns errorr.