Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHi,
Maybe Pos_Leds_Mem = 0x08001000. If this is the address of your LEDs, next code may help you, but I will not guarantee it.
outb(Data, ((unsigned long)Pos_Leds_Mem) | 0xe0000000);
If you want to make some driver for genuine Linux, I strongly recommend you to study the functionality of MMU and the meaning of virtual addresses. Kazu