Changeset b52da8d7 in mainline for include/cpu.h


Ignore:
Timestamp:
2005-08-29T11:57:26Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c245372b
Parents:
229d5fc1
Message:

Add some comments to IA-32 src/boot/boot.S and src/smp.S.

Make the boot stack start on page boundary.
This is required by get_stack_base().

Define 'THE' macro.

Implement preemption_disable() and preemption_enable().

Add memory barrier macros.
IA-32 macros need support for older processors.
Non IA-32 macros are dummy.

Reduction of many #include paths.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/cpu.h

    r229d5fc1 rb52da8d7  
    3131
    3232#include <arch/cpu.h>
    33 #include <proc/thread.h>
    34 #include <proc/task.h>
    3533#include <proc/scheduler.h>
    36 #include <time/clock.h>
    3734#include <synch/spinlock.h>
    3835#include <synch/waitq.h>
     
    4138#include <arch/context.h>
    4239#include <config.h>
     40#include <list.h>
    4341
    4442#define CPU_STACK_SIZE  STACK_SIZE
Note: See TracChangeset for help on using the changeset viewer.