Changeset ed0dd65 in mainline for src


Ignore:
Timestamp:
2005-04-30T16:47:17Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
30ef8ce
Parents:
10a2e22
Message:

More ACPI work.
Initial MADT table parsing.

SMP renaming and reorganization to reflect there are more ways to bring SMP up.

Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/Makefile

    r10a2e22 red0dd65  
    3030ifdef DEBUG_SPINLOCK
    3131CFLAGS+=-D$(DEBUG_SPINLOCK)
     32endif
     33
     34ifdef USERSPACE
     35CFLAGS+=-D$(USERSPACE)
    3236endif
    3337
  • src/Makefile.config

    r10a2e22 red0dd65  
    1414DEBUG_SPINLOCK=DEBUG_SPINLOCK
    1515
     16# Uncomment if you want to compile in userspace support
     17#USERSPACE=__USERSPACE__
     18
    1619# Uncomment if you want to run in the test mode
    17 TEST=__TEST__
     20#TEST=__TEST__
    1821
    1922TEST_FILE=test.c
  • src/main/kinit.c

    r10a2e22 red0dd65  
    4343
    4444#ifdef __SMP__
    45 #include <arch/smp/mp.h>
     45#include <arch/smp/mps.h>
    4646#endif /* __SMP__ */
    4747
     
    115115        cpu_priority_low();
    116116
     117#ifdef __USERSPACE__
    117118        /*
    118119         * Create the first user task.
     
    139140       
    140141        thread_ready(t);
     142#endif /* __USERSPACE__ */
    141143
    142144#ifdef __TEST__
  • src/main/main.c

    r10a2e22 red0dd65  
    4242#ifdef __SMP__
    4343#include <arch/smp/apic.h>
    44 #include <arch/smp/mp.h>
     44#include <arch/smp/mps.h>
    4545#endif /* __SMP__ */
     46
     47#include <smp/smp.h>
    4648
    4749#include <mm/frame.h>
     
    118120        arch_late_init();
    119121       
     122        smp_init();
    120123        printf("config.cpu_count=%d\n", config.cpu_count);
    121124
Note: See TracChangeset for help on using the changeset viewer.