代码搜索结果
找到约 10,000 项符合
Control System 的代码
system.h
//// 切换到用户模式运行。
// 该函数利用iret 指令实现从内核模式切换到用户模式(初始任务0)。
#define move_to_user_mode() \
__asm__ ( "movl %%esp,%%eax\n\t" \ // 保存堆栈指针esp 到eax 寄存器中。
"pushl $0x17\n\t" \ // 首先将堆栈段选择符(SS)入栈。
"pushl %%eax\n
system.c
/* system.c - system file for stdlib */
/* Copyright 1992-1993 Wind River Systems, Inc. */
/*
modification history
--------------------
01c,08feb93,jdi documentation cleanup for 5.1.
01b,20sep92,s
system.h
#if !defined(__SYSTEM)
#define __SYSTEM
#include
extern void SYDefaultHandler();
extern void SYDefaultSignals();
extern void SYArgSqueeze();
extern int SYArgFindName();
extern int
system.c
#define MAX_FILE_NAME 1024
#include "tools.h"
#include "system.h"
#include
#include
#ifndef __MSDOS__
#include
#endif
#include
/*
Here's an unpleasent fact.
system.s
.code
.align 4
; Basic immediate instruction tests.
;
; We could/should test some of the corner cases for register and
; immediate fields. We should also check the assorted field
; selectors to
system.pas
unit <mark>System</mark>;
interface
implementation
end.
//此源码由程序太平洋收集整理发布,任何人都可自由转载,但需保留本站信息
//╭⌒╮┅~ ¤ 欢迎光临程序太平洋╭⌒╮
//╭⌒╭⌒╮╭⌒╮~╭⌒╮ ︶ ,︶︶
//,︶︶︶︶,''︶~~ ,''~︶︶ ,''
//╔ ╱◥███◣═╬╬╬╬╬╬╬╬╬╗
//╬ ︱田︱ ...
system.c
#include
#include
#include
#include
#include
/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
#include
#if ! defined __NR_vfo
system.h
#ifndef __ASM_CRIS_ARCH_SYSTEM_H
#define __ASM_CRIS_ARCH_SYSTEM_H
/* read the CPU version register */
static inline unsigned long rdvr(void) {
unsigned char vr;
__asm__ volatile ("move $vr,%0" :
system.h
#ifndef _ASM_CRIS_ARCH_SYSTEM_H
#define _ASM_CRIS_ARCH_SYSTEM_H
/* Read the CPU version register. */
static inline unsigned long rdvr(void)
{
unsigned char vr;
__asm__ __volatile__ ("move $vr, %0
system.h
#ifndef __ASM_CRIS_SYSTEM_H
#define __ASM_CRIS_SYSTEM_H
#include
#include
/* the switch_to macro calls resume, an asm function in entry.S which does the actual
* t