Skip to content

A Master Boot Record program for intel x86, that will come in useful in reading the PCI configuration space of various devices, located on the PCI bus.

License

Notifications You must be signed in to change notification settings

adivanced/PCI_configuration_space_reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCI_configuration_space_reader

A Master Boot Record program for intel x86, that will come useful in reading the PCI configuration space of various devices, located on the PCI bus.

Assembly and usage

Building this program requires the make utility, NASM assembler and the dd utility. Root access is also required in order to write it onto a USB/Floppy disk.

Run the make utility to assemble the .img file. Then insert a USB/Floppy drive into your PC and run the following command to write the .img file onto your inserted drive: sudo dd if=cspci.img of=/dev/sda && sync. In place of /dev/sda should be the path to your drive in /dev.

Be aware of the fact that USB 3.0 drives are not guaranteed to work properly with this software.

After writing your image file onto your drive, proceed to the BIOS, and put your drive on top of the boot priority list. If using UEFI, enable the legacy boot mode first.

Note that this software is not bootable without your UEFI supporting the legacy boot mode.

After setting the proper boot priority, exit your BIOS and wait for the program to start. If you did everything according to the instructions given above, the program should boot without a problem and give you a view at your PCI devices.

About

A Master Boot Record program for intel x86, that will come in useful in reading the PCI configuration space of various devices, located on the PCI bus.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors