Initial commit

This commit is contained in:
2022-06-06 14:19:14 +03:00
parent 7d64b442a6
commit 9f231ab96b
4 changed files with 41 additions and 0 deletions
+2
View File
@@ -50,3 +50,5 @@ modules.order
Module.symvers Module.symvers
Mkfile.old Mkfile.old
dkms.conf dkms.conf
bin
+27
View File
@@ -0,0 +1,27 @@
.PHONY: all clean
CC = qcc # ntox86-gcc
CXX = g++
LFLAGS = -Wall #-Vgcc_ntox86
LIBS = #-l socket
BIN_PATH = ./bin
SOURCE_PATH = ./src
TARGET = $(BIN_PATH)/pcirw
SRCS = $(SOURCE_PATH)/main.c
all:
mkdir -p $(BIN_PATH)
$(CXX) $(LFLAGS) -o $(TARGET) $(SRCS) $(LIBS)
$(BIN_PATH):
mkdir -p $(BIN_PATH)
clean:
rm -f $(TARGET)
+5
View File
@@ -1,2 +1,7 @@
# pcirw # pcirw
QNX6 program for work with PCI devices QNX6 program for work with PCI devices
It uses for
- reading PCI configuration space
- writing PCI configuration space
- reading PCI devices
- writing PCI devices
+7
View File
@@ -0,0 +1,7 @@
#include <stdio.h>
int main(int argc, char *argv[])
{
puts("Hallo, Welt!");
return 0;
}