mirror of
https://gitlab.os-k.eu/os-k-team/os-k.git
synced 2023-08-25 14:03:10 +02:00
Merge branch 'master' into disk
This commit is contained in:
commit
5dff67c3aa
@ -160,7 +160,8 @@ void IoInitPCI()
|
|||||||
IoPciEnumerate();
|
IoPciEnumerate();
|
||||||
|
|
||||||
// Give R/W access to the configuration space
|
// Give R/W access to the configuration space
|
||||||
for(int i=0; i < 65536; i++) // 65536 = 256 * 32 * 8
|
int maxI = (256 * 32 * 8 * 4096) / KPAGESIZE;
|
||||||
|
for(int i=0; i < maxI; i++)
|
||||||
{
|
{
|
||||||
MmMapPage((void *)((ulong)pciConfigBaseAddress + i * KPAGESIZE),
|
MmMapPage((void *)((ulong)pciConfigBaseAddress + i * KPAGESIZE),
|
||||||
(void *)((ulong)pciConfigBaseAddress + i * KPAGESIZE),
|
(void *)((ulong)pciConfigBaseAddress + i * KPAGESIZE),
|
||||||
|
Loading…
Reference in New Issue
Block a user