git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: page caching layer for vfs
[lunaix-os.git]
/
lunaix-os
/
hal
/
pci.c
diff --git
a/lunaix-os/hal/pci.c
b/lunaix-os/hal/pci.c
index b03c128fb792335638ea425d35a664b37e239e2a..50fe80d6c109fa7ffa8e04121b7b7d65f0393cf0 100644
(file)
--- a/
lunaix-os/hal/pci.c
+++ b/
lunaix-os/hal/pci.c
@@
-11,7
+11,7
@@
#include <hal/acpi/acpi.h>
#include <hal/apic.h>
#include <hal/pci.h>
#include <hal/acpi/acpi.h>
#include <hal/apic.h>
#include <hal/pci.h>
-#include <lunaix/mm/
k
alloc.h>
+#include <lunaix/mm/
v
alloc.h>
#include <lunaix/spike.h>
#include <lunaix/syslog.h>
#include <lunaix/spike.h>
#include <lunaix/syslog.h>
@@
-55,7
+55,7
@@
pci_probe_device(int bus, int dev, int funct)
pci_reg_t intr = pci_read_cspace(base, 0x3c);
pci_reg_t class = pci_read_cspace(base, 0x8);
pci_reg_t intr = pci_read_cspace(base, 0x3c);
pci_reg_t class = pci_read_cspace(base, 0x8);
- struct pci_device* device =
lxm
alloc(sizeof(struct pci_device));
+ struct pci_device* device =
v
alloc(sizeof(struct pci_device));
*device = (struct pci_device){ .cspace_base = base,
.class_info = class,
.device_info = reg1,
*device = (struct pci_device){ .cspace_base = base,
.class_info = class,
.device_info = reg1,