From 6a6fdc824691286fd9c79697ebead2c652d06e14 Mon Sep 17 00:00:00 2001 From: pjht Date: Tue, 28 Jul 2020 15:34:51 +0000 Subject: [PATCH] deploy: 93389edc96878dcf60dcebd8a804b67b13a022de --- kernel/functions.html | 36 +++++++++++++++---------------- kernel/functions_vars.html | 36 +++++++++++++++---------------- kernel/globals.html | 3 +-- kernel/globals_func.html | 7 +++--- kernel/navtreeindex0.js | 18 ++++++++-------- kernel/pmem_8c.html | 40 +++-------------------------------- kernel/pmem_8c.js | 2 +- kernel/pmem_8h.html | 12 +++++------ kernel/pmem_8h.js | 2 +- kernel/pmem_8h_source.html | 4 ++-- kernel/search/all_5.js | 2 +- kernel/search/all_c.js | 12 +++++------ kernel/search/all_d.js | 8 +++---- kernel/search/functions_b.js | 2 +- kernel/search/variables_5.js | 2 +- kernel/search/variables_c.js | 10 ++++----- kernel/search/variables_d.js | 6 +++--- kernel/structProcess.html | 24 ++++++++++----------- kernel/structProcess.js | 6 +++--- kernel/structThread.html | 32 ++++++++++++++-------------- kernel/structThread.js | 8 +++---- kernel/tasking_8c.html | 4 ++-- kernel/tasking_8h_source.html | 28 ++++++++++++------------ 23 files changed, 134 insertions(+), 170 deletions(-) diff --git a/kernel/functions.html b/kernel/functions.html index c8f8145..04fa9f4 100644 --- a/kernel/functions.html +++ b/kernel/functions.html @@ -204,8 +204,8 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • filename : tar_header
  • -
  • firstThread -: Process +
  • first_thread +: Process
  • flags : idt_gate_t @@ -289,20 +289,20 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • name : RPCFuncInfo
  • +
  • next_ready_to_run +: Thread +
  • +
  • next_thread_in_process +: Thread +
  • next_tid : Process
  • -
  • nextReadyToRun -: Thread +
  • num_threads +: Process
  • -
  • nextThreadInProcess -: Thread -
  • -
  • numThreads -: Process -
  • -
  • numThreadsBlocked -: Process +
  • num_threads_blocked +: Process
  • @@ -311,15 +311,15 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • pid : Process
  • +
  • prev_ready_to_run +: Thread +
  • +
  • prev_thread_in_process +: Thread +
  • prev_tss : tss_entry
  • -
  • prevReadyToRun -: Thread -
  • -
  • prevThreadInProcess -: Thread -
  • priv : Process
  • diff --git a/kernel/functions_vars.html b/kernel/functions_vars.html index fac36cf..2352473 100644 --- a/kernel/functions_vars.html +++ b/kernel/functions_vars.html @@ -204,8 +204,8 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • filename : tar_header
  • -
  • firstThread -: Process +
  • first_thread +: Process
  • flags : idt_gate_t @@ -289,20 +289,20 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • name : RPCFuncInfo
  • +
  • next_ready_to_run +: Thread +
  • +
  • next_thread_in_process +: Thread +
  • next_tid : Process
  • -
  • nextReadyToRun -: Thread +
  • num_threads +: Process
  • -
  • nextThreadInProcess -: Thread -
  • -
  • numThreads -: Process -
  • -
  • numThreadsBlocked -: Process +
  • num_threads_blocked +: Process
  • @@ -311,15 +311,15 @@ $(document).ready(function(){initNavTree('functions_vars.html',''); initResizabl
  • pid : Process
  • +
  • prev_ready_to_run +: Thread +
  • +
  • prev_thread_in_process +: Thread +
  • prev_tss : tss_entry
  • -
  • prevReadyToRun -: Thread -
  • -
  • prevThreadInProcess -: Thread -
  • priv : Process
  • diff --git a/kernel/globals.html b/kernel/globals.html index 272bb12..0aad452 100644 --- a/kernel/globals.html +++ b/kernel/globals.html @@ -384,8 +384,7 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); }) , pmem.h
  • pmem_free() -: pmem.c -, pmem.h +: pmem.h
  • pmem_init() : pmem.h diff --git a/kernel/globals_func.html b/kernel/globals_func.html index 13d83a6..1f09449 100644 --- a/kernel/globals_func.html +++ b/kernel/globals_func.html @@ -252,12 +252,11 @@ $(document).ready(function(){initNavTree('globals_func.html',''); initResizable( , pmem.h
  • pmem_free() -: pmem.c -, pmem.h +: pmem.h
  • pmem_init() -: pmem.h -, pmem.c +: pmem.c +, pmem.h
  • diff --git a/kernel/navtreeindex0.js b/kernel/navtreeindex0.js index 21672f0..95b6351 100644 --- a/kernel/navtreeindex0.js +++ b/kernel/navtreeindex0.js @@ -128,15 +128,15 @@ var NAVTREEINDEX0 = "pmem_8c.html#a11ed75ad6967efb05a974760be595f28":[2,0,0,5,6], "pmem_8c.html#a26e65460b81ea0f98525b78008ffc68a":[2,0,0,5,5], "pmem_8c.html#a6aae539dedee94e981912da495a36707":[2,0,0,5,7], +"pmem_8c.html#a6c39d363ae2c8f18ada3e9919075e9d3":[2,0,0,5,4], "pmem_8c.html#a8b873206647239e8d86cb97a81b9e390":[2,0,0,5,3], "pmem_8c.html#a93795a6c0110c3e7ebfec6e443ac5b47":[2,0,0,5,2], "pmem_8c.html#ab5b67f20de16b28be3a3d7a6bd81c65b":[2,0,0,5,1], -"pmem_8c.html#ac844821dd2844e8fa803f927311f1051":[2,0,0,5,4], "pmem_8c.html#aca4e97eba3a74444d35f0e7c77927941":[2,0,0,5,0], "pmem_8h.html":[2,0,0,6], "pmem_8h.html#a26e65460b81ea0f98525b78008ffc68a":[2,0,0,6,2], "pmem_8h.html#a8b873206647239e8d86cb97a81b9e390":[2,0,0,6,0], -"pmem_8h.html#ac844821dd2844e8fa803f927311f1051":[2,0,0,6,1], +"pmem_8h.html#ad72813b130d1345d54584a6083e5488e":[2,0,0,6,1], "pmem_8h_source.html":[2,0,0,6], "rpc_8h.html":[2,0,0,7], "rpc_8h_source.html":[2,0,0,7], @@ -161,11 +161,11 @@ var NAVTREEINDEX0 = "serial_8h.html#ae4f545d29e1faa30e5b27be12d4286d0":[2,0,0,0,6,1], "serial_8h_source.html":[2,0,0,0,6], "structProcess.html":[1,0,4], -"structProcess.html#a0eba77842fdc069f8412ff7e98350add":[1,0,4,3], "structProcess.html#a2097d5c8b6b2049b837d9e8f37b7176f":[1,0,4,4], -"structProcess.html#a810439de18dfeef8641750dec2003b9d":[1,0,4,2], -"structProcess.html#a92b09ab237dc805a2cfc8be299f8da65":[1,0,4,0], +"structProcess.html#a48d146893ce0e6d35cb3b950e9f9b3bd":[1,0,4,3], +"structProcess.html#ab6a9356bdc1ccce9be96c863ed81a160":[1,0,4,2], "structProcess.html#ade42afe3b9fb94ce3c4baff8aa0e740f":[1,0,4,1], +"structProcess.html#af6aa293cc982154a6b4880067258d66b":[1,0,4,0], "structProcess.html#af6d80a830e83c92cf1524041130ecda8":[1,0,4,5], "structRPCFuncInfo.html":[1,0,6], "structRPCFuncInfo.html#a0515c5073f2dc9c41d5c3f315df976f6":[1,0,6,0], @@ -173,15 +173,15 @@ var NAVTREEINDEX0 = "structThread.html":[1,0,8], "structThread.html#a05ff1695379212103807ae341e995344":[1,0,8,9], "structThread.html#a13b09b855703f94e0431cb650ce50161":[1,0,8,8], +"structThread.html#a2e36472c509fe52f73133906c1f26aac":[1,0,8,5], "structThread.html#a3bf6171b97c28a4da05947a74c8ded8b":[1,0,8,0], -"structThread.html#a576a1f9a82447ccb7cddb700e419e438":[1,0,8,6], +"structThread.html#a446b54c14f79942f79e2e78cf10b2f22":[1,0,8,6], "structThread.html#a5c7be841d425e4383daccdce34d7aa29":[1,0,8,2], -"structThread.html#a856064563635f2bf85b4ef3065c74e7b":[1,0,8,7], +"structThread.html#a7bd6ad78697d0bd0e20334a6aca7babb":[1,0,8,4], "structThread.html#a85915c03a5847d0f7c08660c8181a74e":[1,0,8,10], -"structThread.html#abd42dbfa086d35f2dfaaa89aa3391f47":[1,0,8,5], -"structThread.html#ac3696b5e9bc02cece60960a81eee182c":[1,0,8,4], "structThread.html#acb2fe83a77f2e2eea943869b40e472b0":[1,0,8,1], "structThread.html#ad587532fcef04437ad95e1cfea76ba2f":[1,0,8,3], +"structThread.html#adfbbeb19a2571fa9c650ea9755aa2da7":[1,0,8,7], "structgdt__description.html":[1,0,0], "structgdt__description.html#a273499cbf34632a77024589e769d8913":[1,0,0,0], "structgdt__description.html#a614a1d39782c71fd795f999c2eac2535":[1,0,0,1], diff --git a/kernel/pmem_8c.html b/kernel/pmem_8c.html index fa69b77..33f7cdd 100644 --- a/kernel/pmem_8c.html +++ b/kernel/pmem_8c.html @@ -115,8 +115,9 @@ Functions   void * pmem_alloc (int num_pages)   -void pmem_free (int start_page, int num_pages) -  + +void pmem_free (void *start, int num_pages) +  @@ -214,41 +215,6 @@ static char  - - + +

    Variables

    Returns
    the physical address of the allocated frames
    - - -
    -

    ◆ pmem_free()

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    void pmem_free (int start_page,
    int num_pages 
    )
    -
    -

    Free allocated physical frames

    Parameters
    - - - -
    start_pageThe frame to start freeing at.
    num_pagesThe number of frames to free
    -
    -
    -
    diff --git a/kernel/pmem_8c.js b/kernel/pmem_8c.js index e5b77e7..6448ae7 100644 --- a/kernel/pmem_8c.js +++ b/kernel/pmem_8c.js @@ -4,7 +4,7 @@ var pmem_8c = [ "clear_bmap_bit", "pmem_8c.html#ab5b67f20de16b28be3a3d7a6bd81c65b", null ], [ "get_bmap_bit", "pmem_8c.html#a93795a6c0110c3e7ebfec6e443ac5b47", null ], [ "pmem_alloc", "pmem_8c.html#a8b873206647239e8d86cb97a81b9e390", null ], - [ "pmem_free", "pmem_8c.html#ac844821dd2844e8fa803f927311f1051", null ], + [ "pmem_free", "pmem_8c.html#a6c39d363ae2c8f18ada3e9919075e9d3", null ], [ "pmem_init", "pmem_8c.html#a26e65460b81ea0f98525b78008ffc68a", null ], [ "set_bmap_bit", "pmem_8c.html#a11ed75ad6967efb05a974760be595f28", null ], [ "bmap", "pmem_8c.html#a6aae539dedee94e981912da495a36707", null ] diff --git a/kernel/pmem_8h.html b/kernel/pmem_8h.html index 3b35a09..370b87e 100644 --- a/kernel/pmem_8h.html +++ b/kernel/pmem_8h.html @@ -97,8 +97,8 @@ Functions
     
    void * pmem_alloc (int num_pages)
     
    void pmem_free (int start_page, int num_pages)
     
    void pmem_free (int start, int num_pages)
     

    Function Documentation

    @@ -126,8 +126,8 @@ Functions - -

    ◆ pmem_free()

    + +

    ◆ pmem_free()

    @@ -136,7 +136,7 @@ Functions void pmem_free ( int  - start_page, + start, @@ -153,7 +153,7 @@ Functions

    Free allocated physical frames

    Parameters
    - +
    start_pageThe frame to start freeing at.
    startThe address to start freeing at.
    num_pagesThe number of frames to free
    diff --git a/kernel/pmem_8h.js b/kernel/pmem_8h.js index 4f33589..f3a7940 100644 --- a/kernel/pmem_8h.js +++ b/kernel/pmem_8h.js @@ -1,6 +1,6 @@ var pmem_8h = [ [ "pmem_alloc", "pmem_8h.html#a8b873206647239e8d86cb97a81b9e390", null ], - [ "pmem_free", "pmem_8h.html#ac844821dd2844e8fa803f927311f1051", null ], + [ "pmem_free", "pmem_8h.html#ad72813b130d1345d54584a6083e5488e", null ], [ "pmem_init", "pmem_8h.html#a26e65460b81ea0f98525b78008ffc68a", null ] ]; \ No newline at end of file diff --git a/kernel/pmem_8h_source.html b/kernel/pmem_8h_source.html index 2192e0d..739287c 100644 --- a/kernel/pmem_8h_source.html +++ b/kernel/pmem_8h_source.html @@ -94,13 +94,13 @@ $(document).ready(function(){initNavTree('pmem_8h_source.html',''); initResizabl
    14 void pmem_init(struct multiboot_boot_header_tag* tags);
    20 void* pmem_alloc(int num_pages);
    21 
    -
    27 void pmem_free(int start_page,int num_pages);
    +
    27 void pmem_free(int start,int num_pages);
    28 
    29 #endif
    void * pmem_alloc(int num_pages)
    Definition: pmem.c:87
    -
    void pmem_free(int start_page, int num_pages)
    Definition: pmem.c:135
    +
    void pmem_free(int start, int num_pages)
    void pmem_init(struct multiboot_boot_header_tag *tags)
    Definition: pmem.c:48
    Thread * current_thread
    Currently running thread.
    Definition: tasking.c:22
    -
    struct Thread * prevThreadInProcess
    The previous thread in the process.
    Definition: tasking.h:50
    -
    int numThreadsBlocked
    The number of blocked threads in this process.
    Definition: tasking.h:35
    +
    int num_threads
    The number of threads in this process.
    Definition: tasking.h:34
    +
    struct Thread * prev_thread_in_process
    The previous thread in the process.
    Definition: tasking.h:50
    thread_state state
    The state of this thread. (running,ready to run,blocked,etc.)
    Definition: tasking.h:47
    int * tasking_get_errno_address()
    Definition: tasking.c:157
    -
    int numThreads
    The number of threads in this process.
    Definition: tasking.h:34
    void tasking_yield()
    Definition: tasking.c:228
    -
    struct Thread * firstThread
    A pointer to the head of the linked list of threads for this process.
    Definition: tasking.h:36
    +
    int num_threads_blocked
    The number of blocked threads in this process.
    Definition: tasking.h:35
    thread_state
    Definition: tasking.h:16
    @ THREAD_BLOCKED
    The state of a generically blocked thread.
    Definition: tasking.h:20
    @ THREAD_RUNNING
    The state of a running thread.
    Definition: tasking.h:17
    +
    struct Thread * next_thread_in_process
    The next thread in the process.
    Definition: tasking.h:49
    Process * process
    The thread's process.
    Definition: tasking.h:53
    pid_t next_tid
    The TID that the next created thread will use.
    Definition: tasking.h:33
    char tasking_is_privleged()
    Definition: tasking.c:149
    @@ -166,18 +166,18 @@ $(document).ready(function(){initNavTree('tasking_8h_source.html',''); initResiz
    void tasking_exit(int code)
    Definition: tasking.c:322
    Definition: tasking.h:42
    @ THREAD_EXITED
    The state of an exited thread.
    Definition: tasking.h:19
    -
    struct Thread * nextReadyToRun
    If the thread is in the ready to run list, this is the next ready to run thread. (potentially in a di...
    Definition: tasking.h:51
    char priv
    Whether the process is privileged (can execute syscalls to acesss all of memory/has acess to IO ports...
    Definition: tasking.h:31
    void * kernel_esp
    The thread's kernel stack.
    Definition: tasking.h:43
    -
    struct Thread * prevReadyToRun
    If the thread is in the ready to run list, this is the previous ready to run thread....
    Definition: tasking.h:52
    +
    struct Thread * first_thread
    A pointer to the head of the linked list of threads for this process.
    Definition: tasking.h:36
    void tasking_block(thread_state newstate)
    Definition: tasking.c:255
    pid_t pid
    The PID of this process.
    Definition: tasking.h:32
    Definition: tasking.h:30
    pid_t tasking_new_thread(void *start, pid_t pid, char param_exists, void *param_arg)
    Definition: tasking.c:161
    +
    struct Thread * next_ready_to_run
    If the thread is in the ready to run list, this is the next ready to run thread. (potentially in a di...
    Definition: tasking.h:51
    int errno
    The errno value for this thread.
    Definition: tasking.h:48
    void tasking_init()
    Definition: tasking.c:145
    void * kernel_esp_top
    The top of the thread's kernel stack.
    Definition: tasking.h:44
    -
    struct Thread * nextThreadInProcess
    The next thread in the process.
    Definition: tasking.h:49
    +
    struct Thread * prev_ready_to_run
    If the thread is in the ready to run list, this is the previous ready to run thread....
    Definition: tasking.h:52
    @ THREAD_READY
    The state of a ready to run thread.
    Definition: tasking.h:18
    void * cr3
    The address space of this thread. (it is in here and not in the process to simplify the task switch a...
    Definition: tasking.h:45