From 14e36af649464ae1bee6710b9ec27b196eca98ef Mon Sep 17 00:00:00 2001 From: Pawel Dziepak Date: Thu, 21 Nov 2013 03:24:54 +0100 Subject: [PATCH] kernel[/util]: Fix debug builds --- headers/private/kernel/util/Heap.h | 7 +++++++ headers/private/kernel/util/MinMaxHeap.h | 7 +++++++ src/system/kernel/scheduler/RunQueue.h | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/headers/private/kernel/util/Heap.h b/headers/private/kernel/util/Heap.h index ed7294c2b2..b2751eb6b3 100644 --- a/headers/private/kernel/util/Heap.h +++ b/headers/private/kernel/util/Heap.h @@ -346,5 +346,12 @@ HEAP_CLASS_NAME::_MoveDown(HeapLink* link) } +HEAP_TEMPLATE_LIST +Compare HEAP_CLASS_NAME::sCompare; + +HEAP_TEMPLATE_LIST +GetLink HEAP_CLASS_NAME::sGetLink; + + #endif // KERNEL_UTIL_HEAP_H diff --git a/headers/private/kernel/util/MinMaxHeap.h b/headers/private/kernel/util/MinMaxHeap.h index 14efee5ac8..6e7caaea29 100644 --- a/headers/private/kernel/util/MinMaxHeap.h +++ b/headers/private/kernel/util/MinMaxHeap.h @@ -493,5 +493,12 @@ MIN_MAX_HEAP_CLASS_NAME::_RemoveLast(bool minTree) } +MIN_MAX_HEAP_TEMPLATE_LIST +Compare MIN_MAX_HEAP_CLASS_NAME::sCompare; + +MIN_MAX_HEAP_TEMPLATE_LIST +GetLink MIN_MAX_HEAP_CLASS_NAME::sGetLink; + + #endif // KERNEL_UTIL_MIN_MAX_HEAP_H diff --git a/src/system/kernel/scheduler/RunQueue.h b/src/system/kernel/scheduler/RunQueue.h index 9485a1c4f8..e33f1ab1bd 100644 --- a/src/system/kernel/scheduler/RunQueue.h +++ b/src/system/kernel/scheduler/RunQueue.h @@ -349,5 +349,12 @@ RUN_QUEUE_CLASS_NAME::GetConstIterator() const } +RUN_QUEUE_TEMPLATE_LIST +GetLink RUN_QUEUE_CLASS_NAME::sGetLink; + +RUN_QUEUE_TEMPLATE_LIST +GetLink RUN_QUEUE_CLASS_NAME::ConstIterator::sGetLink; + + #endif // RUN_QUEUE_H