|
Accessing PCI devices: msg#00034emulators.bochs.devel
Hello, I'm developping a micro OS for PC, for learning purpose and I have started to "play" with PCI devices. So I have written a small piece of code that read the Vendor ID and Device ID of the Device 0, Fiunction 0 on Bus 0. When My piece of code run nativly on my PC, it displays the good device and vendor ID (For instance, Intel for vendor ID). But when I run this piece of code on bochs, it displays 0xFFFF for Vendor ID and 0xFFFF for Device ID. It seems my piece of code access nothing and I'm sure bochs emulates some PCI devices. I think I do not initialize correctly my PCI subsystem. I write '1' in bit 31 of CONFADD (0xCF8 port), and that run on the PC. Maybe my PC bios do some initialization bochs do not. Any ideas, clues, answer ? Thank you very much ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Strange panic message when starting Bochs: 00034, Gregg C Levine |
|---|---|
| Next by Date: | compiling 386SX bochs: 00034, Don Knecht |
| Previous by Thread: | Strange panic message when starting Bochsi: 00034, Gregg C Levine |
| Next by Thread: | compiling 386SX bochs: 00034, Don Knecht |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |