Ignore:
Timestamp:
2006-08-29T11:06:57Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0fa6044
Parents:
c8ea4a8b
Message:

Define architecture-specific thread sub-constructors and sub-destructors on all architectures.
Define the THREAD_FLAG_USPACE which means that the thread runs in user space.
The forementioned changes allow for allocating of user window buffer on sparc64
threads that execute in userspace.

A lot of formatting and indentation fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/proc/thread.h

    rc8ea4a8b r32fffef0  
    2727 */
    2828
    29  /** @addtogroup sparc64proc
     29/** @addtogroup sparc64proc
    3030 * @{
    3131 */
     
    3333 */
    3434
    35 #ifndef __sparc64_THREAD_H__
    36 #define __sparc64_THREAD_H__
     35#ifndef KERN_sparc64_THREAD_H_
     36#define KERN_sparc64_THREAD_H_
     37
     38#include <arch/types.h>
     39#include <arch/arch.h>
    3740
    3841typedef struct {
     42        /** Buffer for register windows with userspace content. */
     43        uint8_t *uspace_window_buffer;
    3944} thread_arch_t;
    40 
    41 #define thread_create_arch(t)
    4245
    4346#endif
    4447
    45  /** @}
     48/** @}
    4649 */
    47 
Note: See TracChangeset for help on using the changeset viewer.