代码搜索结果
找到约 10,000 项符合
Control System 的代码
system.h
/*
* $Id: System.h,v 1.1.1.1 2000/04/25 13:49:01 fnevgeny Exp $
*
* Copyright (c) 1994 HAL Computer Systems International, Ltd.
*
* HAL COMPUTER SYSTEMS INTERNATIONAL, LTD.
*
system.h
#ifndef __ASM_SYSTEM_H
#define __ASM_SYSTEM_H
#include
#define move_to_user_mode() \
__asm__ __volatile__ ("movl %%esp,%%eax\n\t" \
"pushl %0\n\t" \
"pushl %%eax\n\t" \
"pushfl\
system.c
/*****************************************************************************
*
* component :
*
* module name : system.c
* date :
*
* subcomponent:
*
*****************
system.h
#ifndef _PYOS_SYSTEM_H_
#define _PYOS_SYSTEM_H_
#include "system_invoke.h"
/*************************************************
定义系统所需要的一些结构
**************************************************/
system.cpp
#include "system.h"
#include "video.h"
#include "system_invoke.h"
struct_pyos_Gdtr class_pyos_System::m_gdtr ;
struct_pyos_Gdt class_pyos_System::m_gdt ;
/* 系统初始化 */
void class_pyos_System::
system.h
#define move_to_user_mode() \
__asm__ ("movl %%esp,%%eax\n\t" \
"pushl $0x17\n\t" \
"pushl %%eax\n\t" \
"pushfl\n\t" \
"pushl $0x0f\n\t" \
"pushl $1f\n\t" \
"iret\n" \
"1:\tmovl $0x17,%%eax\n\t
system.cpp
//---------------------------------------------------------------------------
#include
#include
#pragma hdrstop
//------------------------------------------------------------