Changeset b52da8d7 in mainline for include/arch.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/arch.h

    r229d5fc1 rb52da8d7  
    3535#include <cpu.h>
    3636#include <arch/cpu.h>
     37#include <arch/asm.h>
     38
     39#include <proc/thread.h>
     40#include <proc/task.h>
    3741
    3842/*
     
    5963};
    6064
     65#define THE             ((the_t *)(get_stack_base()))   
     66
    6167extern void arch_pre_mm_init(void);
    6268extern void arch_post_mm_init(void);
Note: See TracChangeset for help on using the changeset viewer.