[zion/glacier] Move RefPtr to glacier.

This commit is contained in:
Drew Galbraith 2023-06-21 15:07:40 -07:00
parent 8bcb574677
commit e1af79b975
26 changed files with 130 additions and 106 deletions

View file

@ -138,7 +138,7 @@ extern "C" void interrupt_timer(InterruptFrame*) {
gScheduler->Preempt();
}
RefPtr<Port> pci1_port;
glcr::RefPtr<Port> pci1_port;
extern "C" void isr_pci1();
extern "C" void interrupt_pci1(InterruptFrame*) {
dbgln("Interrupt PCI line 1");
@ -185,4 +185,4 @@ void InitIdt() {
EnableApic();
}
void RegisterPciPort(const RefPtr<Port>& port) { pci1_port = port; }
void RegisterPciPort(const glcr::RefPtr<Port>& port) { pci1_port = port; }

View file

@ -1,8 +1,9 @@
#pragma once
#include "lib/ref_ptr.h"
#include <glacier/memory/ref_ptr.h>
#include "object/port.h"
void InitIdt();
void RegisterPciPort(const RefPtr<Port>& port);
void RegisterPciPort(const glcr::RefPtr<Port>& port);