scheduler_8cpp.tex 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. \doxysection{C:/\+\+Users/\+yoneda/\+\+Documents/\+\+Pico\+\_\+\+Projects/\+tinykernel/\+tinykernel/\+src/\+scheduler.cpp File Reference}
  2. \hypertarget{scheduler_8cpp}{}\label{scheduler_8cpp}\index{C:/Users/yoneda/Documents/Pico\_Projects/tinykernel/tinykernel/src/scheduler.cpp@{C:/Users/yoneda/Documents/Pico\_Projects/tinykernel/tinykernel/src/scheduler.cpp}}
  3. {\ttfamily \+\#include "{}tinykernel/\+kernel.\+hpp"{}}\newline
  4. {\ttfamily \+\#include $<$cstring$>$}\newline
  5. {\ttfamily \+\#include "{}pico/\+platform.\+h"{}}\newline
  6. {\ttfamily \+\#include "{}pico/\+multicore.\+h"{}}\newline
  7. {\ttfamily \+\#include "{}hardware/\+sync.\+h"{}}\newline
  8. {\ttfamily \+\#include "{}port/\+m33/\+port\+\_\+m33.\+h"{}}\newline
  9. \doxysubsubsection*{Classes}
  10. \begin{DoxyCompactItemize}
  11. \item
  12. struct \doxymbox{\hyperlink{struct_fpu_ctx}{Fpu\+Ctx}}
  13. \end{DoxyCompactItemize}
  14. \doxysubsubsection*{Namespaces}
  15. \begin{DoxyCompactItemize}
  16. \item
  17. namespace \doxymbox{\hyperlink{namespacetk}{tk}}
  18. \item
  19. namespace \doxymbox{\hyperlink{namespacetk_1_1detail}{tk::\+detail}}
  20. \end{DoxyCompactItemize}
  21. \doxysubsubsection*{Functions}
  22. \begin{DoxyCompactItemize}
  23. \item
  24. void \doxymbox{\hyperlink{scheduler_8cpp_a4728919288dacba97228c27b1c996108}{isr\+\_\+systick}} (void)
  25. \item
  26. uintptr\+\_\+t \doxymbox{\hyperlink{scheduler_8cpp_a10d391ed68d7bf5406e9dbcd1c69d1da}{tk\+\_\+switch\+\_\+context}} (uintptr\+\_\+t cur\+\_\+sp)
  27. \item
  28. void \doxymbox{\hyperlink{namespacetk_1_1detail_a447e4ec89b3f2748451891219b7e3738}{tk::\+detail::\+static\+\_\+register}} (const char \texorpdfstring{$\ast$}{*}name, \doxymbox{\hyperlink{namespacetk_a8908cf1e54cdc4e14ac3003126722cfc}{Task\+Fn}} fn, uint32\+\_\+t prio)
  29. \item
  30. void \doxymbox{\hyperlink{scheduler_8cpp_ad29ac857f58c5bf7c0220403c6624f32}{tk\+\_\+task\+\_\+return\+\_\+trampoline}} (void)
  31. \end{DoxyCompactItemize}
  32. \doxysubsubsection*{Variables}
  33. \begin{DoxyCompactItemize}
  34. \item
  35. \doxymbox{\hyperlink{struct_fpu_ctx}{Fpu\+Ctx}} \doxymbox{\hyperlink{scheduler_8cpp_ad7a9acf1577e1fc4ff193d79edf9e254}{tk\+\_\+fpu\+\_\+scratch}} \+[TK\+\_\+\+NUM\+\_\+\+CORES] = \{\}
  36. \end{DoxyCompactItemize}
  37. \label{scheduler_8cpp_doc-func-members}
  38. \Hypertarget{scheduler_8cpp_doc-func-members}
  39. \doxysubsection{Function Documentation}
  40. \Hypertarget{scheduler_8cpp_a4728919288dacba97228c27b1c996108}\index{scheduler.cpp@{scheduler.cpp}!isr\_systick@{isr\_systick}}
  41. \index{isr\_systick@{isr\_systick}!scheduler.cpp@{scheduler.cpp}}
  42. \doxysubsubsection{\texorpdfstring{isr\_systick()}{isr\_systick()}}
  43. {\footnotesize\ttfamily \label{scheduler_8cpp_a4728919288dacba97228c27b1c996108}
  44. void isr\+\_\+systick (\begin{DoxyParamCaption}\item[{void}]{}{}\end{DoxyParamCaption})}
  45. \Hypertarget{scheduler_8cpp_a10d391ed68d7bf5406e9dbcd1c69d1da}\index{scheduler.cpp@{scheduler.cpp}!tk\_switch\_context@{tk\_switch\_context}}
  46. \index{tk\_switch\_context@{tk\_switch\_context}!scheduler.cpp@{scheduler.cpp}}
  47. \doxysubsubsection{\texorpdfstring{tk\_switch\_context()}{tk\_switch\_context()}}
  48. {\footnotesize\ttfamily \label{scheduler_8cpp_a10d391ed68d7bf5406e9dbcd1c69d1da}
  49. uintptr\+\_\+t tk\+\_\+switch\+\_\+context (\begin{DoxyParamCaption}\item[{uintptr\+\_\+t}]{cur\+\_\+sp}{}\end{DoxyParamCaption})}
  50. \Hypertarget{scheduler_8cpp_ad29ac857f58c5bf7c0220403c6624f32}\index{scheduler.cpp@{scheduler.cpp}!tk\_task\_return\_trampoline@{tk\_task\_return\_trampoline}}
  51. \index{tk\_task\_return\_trampoline@{tk\_task\_return\_trampoline}!scheduler.cpp@{scheduler.cpp}}
  52. \doxysubsubsection{\texorpdfstring{tk\_task\_return\_trampoline()}{tk\_task\_return\_trampoline()}}
  53. {\footnotesize\ttfamily \label{scheduler_8cpp_ad29ac857f58c5bf7c0220403c6624f32}
  54. void tk\+\_\+task\+\_\+return\+\_\+trampoline (\begin{DoxyParamCaption}\item[{void}]{}{}\end{DoxyParamCaption})}
  55. \label{scheduler_8cpp_doc-var-members}
  56. \Hypertarget{scheduler_8cpp_doc-var-members}
  57. \doxysubsection{Variable Documentation}
  58. \Hypertarget{scheduler_8cpp_ad7a9acf1577e1fc4ff193d79edf9e254}\index{scheduler.cpp@{scheduler.cpp}!tk\_fpu\_scratch@{tk\_fpu\_scratch}}
  59. \index{tk\_fpu\_scratch@{tk\_fpu\_scratch}!scheduler.cpp@{scheduler.cpp}}
  60. \doxysubsubsection{\texorpdfstring{tk\_fpu\_scratch}{tk\_fpu\_scratch}}
  61. {\footnotesize\ttfamily \label{scheduler_8cpp_ad7a9acf1577e1fc4ff193d79edf9e254}
  62. \doxymbox{\hyperlink{struct_fpu_ctx}{Fpu\+Ctx}} tk\+\_\+fpu\+\_\+scratch\+[TK\+\_\+\+NUM\+\_\+\+CORES] = \{\}}