Changeset b52da8d7 in mainline for include


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.

Location:
include
Files:
4 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);
  • 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
  • include/proc/task.h

    r229d5fc1 rb52da8d7  
    3232#include <typedefs.h>
    3333#include <synch/spinlock.h>
    34 #include <proc/thread.h>
    35 #include <mm/vm.h>
    3634#include <list.h>
    3735
  • include/proc/thread.h

    r229d5fc1 rb52da8d7  
    3131
    3232#include <arch/thread.h>
    33 #include <proc/task.h>
    3433#include <synch/spinlock.h>
    3534#include <arch/context.h>
     
    3938#include <time/timeout.h>
    4039#include <synch/rwlock.h>
    41 #include <mm/page.h>
    4240#include <config.h>
    4341#include <list.h>
Note: See TracChangeset for help on using the changeset viewer.