xf86_s3.c
来自「基于组件方式开发操作系统的OSKIT源代码」· C语言 代码 · 共 69 行
C
69 行
/* $XFree86: xc/programs/Xserver/hw/xfree86/common/XF86_S3.c,v 3.11 1996/12/23 06:43:09 dawes Exp $ *//* $XConsortium: XF86_S3.c /main/5 1996/02/21 17:37:15 kaleb $ */#include "X.h"#include "os.h"#define _NO_XF86_PROTOTYPES#include "xf86.h"#include "xf86_Config.h"extern ScrnInfoRec s3InfoRec;/* * This limit is set to 110MHz because this is the limit for * the ramdacs used on many S3 cards Increasing this limit * could result in damage to your hardware. *//* Clock limit for non-Bt485, non-Ti3020, non-ATT498 cards */#define MAX_S3_CLOCK 110000int s3MaxClock = MAX_S3_CLOCK;ScrnInfoPtr xf86Screens[] = { &s3InfoRec,};int xf86MaxScreens = sizeof(xf86Screens) / sizeof(ScrnInfoPtr);int xf86ScreenNames[] ={ ACCEL, -1};int s3ValidTokens[] ={ STATICGRAY, GRAYSCALE, STATICCOLOR, PSEUDOCOLOR, TRUECOLOR, DIRECTCOLOR, CHIPSET, CLOCKS, MODES, OPTION, VIDEORAM, VIEWPORT, VIRTUAL, CLOCKPROG, BIOSBASE, MEMBASE, RAMDAC, DACSPEED, -1};#ifndef OSKIT#include "xf86ExtInit.h"#endif /* !OSKIT */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?