代码搜索结果
找到约 10,000 项符合
Switch 的代码
ffb.h
/* ffb.h -- ffb DRM template customization -*- linux-c -*-
*/
#ifndef __FFB_H__
#define __FFB_H__
/* This remains constant for all DRM template files.
*/
#define DRM(x) ffb_##x
/* General customi
ftape-format.c
/*
* Copyright (C) 1997 Claus-Justus Heine.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Soft
elf.h
#ifndef __ASMm68k_ELF_H
#define __ASMm68k_ELF_H
/*
* ELF register definitions..
*/
#include
typedef unsigned long elf_greg_t;
#define ELF_NGREG 20 /* d1-d7/a0-a6/d0/usp
elf.h
#ifndef __ASMm68k_ELF_H
#define __ASMm68k_ELF_H
/*
* ELF register definitions..
*/
#include
typedef unsigned long elf_greg_t;
#define ELF_NGREG 20 /* d1-d7/a0-a6/d0/usp
st2000.mt
# Target: Tandem ST-2000 phone switch
TDEPFILES= m68k-tdep.o remote-st.o
TM_FILE= tm-st2000.h
parseinc.pl
#!/usr/bin/perl
if (scalar @ARGV != 1) {
print STDERR "usage: ./parseinc.pl file.inc\n";
exit 1;
}
my $inc_file = $ARGV[0];
my $switch_file = `basename $inc_file`;
chomp $switch_file;
$switc
entry.h
#include
/*
* Preserved registers that are shared between code in ivt.S and
* entry.S. Be careful not to step on these!
*/
#define PRED_LEAVE_SYSCALL 1 /* TRUE iff leave from sys
modifiers
Shift_R 0x36
Shift_L 0x2a
Alt_R 0xb8
Mode_switch 0xb8
ISO_Level3_Shift 0xb8
Alt_L 0x38
Control_R 0x9d
Control_L 0x1d
# Translate Meta, Super and Hyper to Windows keys.
# This is hardcoded. See do
mmu_context.h.txt
any problems, send mail to sindybear@163.com
相关文件
/kernel/sched.c
这个函数是进程切换中至关重要的一个函数,使用它来将cr3寄存器中的页目录地址进行变换
static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, s
uart.c
#ifndef __UART_C__
#define __UART_C__
#include "NGVDP_VDP.h"
/*
uint8 Add_byte_to_receive_buf(uint8 Uart_num, uint8 * receive_buf, uint8 data)
{
switch (Uart_num)
{
case Uart0: