Changeset 7ce9284 in mainline for include/cpu.h


Ignore:
Timestamp:
2005-08-30T17:41:19Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b45aa23
Parents:
10caad0
Message:

Dump implementation of THREAD, TASK and CPU.
Implement preemption-safe versions of THREAD, TASK and CPU using THE.
Get rid of CPU_ID_ARCH on all architectures.
Get rid of write_dr0() and read_dr0() on IA-32.
Get rid of cpu_private_data and cpu_private_data_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/cpu.h

    r10caad0 r7ce9284  
    7272};
    7373
    74 /*
    75  * read/write by associated CPU
    76  * read only by other CPUs
    77  */
    78 struct cpu_private_data {
    79         thread_t *thread;
    80         task_t *task;
    81 };
    82 
    83 extern cpu_private_data_t *cpu_private_data;
    8474extern cpu_t *cpus;
    8575
Note: See TracChangeset for help on using the changeset viewer.