Changeset 360 for trunk/hal/x86_64/core
- Timestamp:
- Aug 10, 2017, 11:26:58 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_context.c
r359 r360 101 101 void hal_cpu_context_switch(thread_t *old, thread_t *new) 102 102 { 103 process_t *oldproc = old->process; 104 process_t *newproc = new->process; 105 103 106 curtls()->tls_thr = new; 104 107 105 108 /* Switch the VM space */ 106 // TODO 109 if (newproc != oldproc) { 110 // TODO userland 111 x86_panic((char *)__func__); 112 } 107 113 108 114 /* Switch the CPU context */
Note: See TracChangeset
for help on using the changeset viewer.