📄 common.h
字号:
/* openbios/arch/vesta/common.h, stb-bios *//*-----------------------------------------------------------------------------+|| This source code has been made available to you by IBM on an AS-IS| basis. Anyone receiving this source is licensed under IBM| copyrights to use it in any way he or she deems fit, including| copying it, modifying it, compiling it, and redistributing it either| with or without modifications. No license under IBM patents or| patent applications is to be implied by the copyright license.|| Any user of this software should understand that IBM cannot provide| technical support for this software and will not be responsible for| any consequences resulting from the use of this software.|| Any person who transfers this source code or any derivative work| must include the IBM copyright notice, this paragraph, and the| preceding two paragraphs in the transferred software.|| COPYRIGHT I B M CORPORATION 1995| LICENSED MATERIAL - PROGRAM PROPERTY OF I B M+-----------------------------------------------------------------------------*//*-----------------------------------------------------------------------------+|| File Name: platform.h|| Function: STB BIOS architecture depdendent common settings for STB03xxx.|| Author: Yudong Yang|| Change Activity-|| Date Description of Change BY| --------- --------------------- ---| 25-Mar-02 Splitted from platform.h YYD|+-----------------------------------------------------------------------------*//* * defines for external interrupts * NOTE: value corresponds to bit number in EXISR */#define EXI_SR 4 /* Serial port receiver interrupt */#define EXI_ST 5 /* Serial port transmitter interrupt */#define EXI_JR 6 /* JTAG serial port receiver interrupt */#define EXI_JT 7 /* JTAG serial port transmitter interrupt */#define EXI_D0 8 /* DMA channel 0 interrupt */#define EXI_D1 9 /* DMA channel 1 interrupt */#define EXI_D2 10 /* DMA channel 2 interrupt */#define EXI_D3 11 /* DMA channel 3 interrupt */#define EXI_I0 25 /* External Interrupt 0 */#define EXI_I1 26 /* External Interrupt 1 */#define EXI_I2 27 /* External Interrupt 2 */#define EXI_I3 28 /* External Interrupt 3 */#define EXI_I4 29 /* External Interrupt 4 */#define BOARD_CLOCK 27000000#define PROC_CLOCK 54000000// defines the TV format supported#define TV_FMT_NTSC 0 // NTSC 3.58#define TV_FMT_PAL 1 // PAL/D/K (4.43)#define TV_FMT_PAL_M 2 // PAL/M#define TV_FMT_PAL_N 3 // PAL/N#define NUMBER_TV_FMT 4#define NUM_OF_I2C_BUSES 2 // vesta and pallas has two i2c bus interfaces
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -