Changeset 9c0a9b3 in mainline for src/proc


Ignore:
Timestamp:
2005-08-30T19:44:27Z (20 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d0c30f7
Parents:
8fc0d455
Message:

1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option

Location:
src/proc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/proc/scheduler.c

    r8fc0d455 r9c0a9b3  
    4444#include <arch/faddr.h>
    4545#include <arch/atomic.h>
     46#include <print.h>
     47#include <mm/frame.h>
     48#include <mm/heap.h>
     49
    4650
    4751volatile int nrdy;
     
    358362                THREAD = NULL;
    359363        }
    360 
     364        printf("*0*");
    361365        THREAD = find_best_thread();
     366        printf("*1*");
    362367       
    363368        spinlock_lock(&THREAD->lock);
  • src/proc/thread.c

    r8fc0d455 r9c0a9b3  
    5151#include <arch/faddr.h>
    5252#include <arch/atomic.h>
     53#include <memstr.h>
    5354
    5455char *thread_states[] = {"Invalid", "Running", "Sleeping", "Ready", "Entering", "Exiting"}; /**< Thread states */
Note: See TracChangeset for help on using the changeset viewer.