📄 mmu.h
字号:
/*============================================================================
____________________________________________________________________________
______________________________________________
SSSS M M CCCC Standard Microsystems Corporation
S MM MM SSSS C Austin Design Center
SSS M M M S C 11000 N. Mopac Expressway
S M M SSS C Stonelake Bldg. 6, Suite 500
SSSS M M S CCCC Austin, Texas 78759
SSSS ______________________________________________
____________________________________________________________________________
Copyright(C) 1999, Standard Microsystems Corporation
All Rights Reserved.
This program code listing is proprietary to SMSC and may not be copied,
distributed, or used without a license to do so. Such license may have
Limited or Restricted Rights. Please refer to the license for further
clarification.
____________________________________________________________________________
Notice: The program contained in this listing is a proprietary trade
secret of SMSC, Hauppauge, New York, and is copyrighted
under the United States Copyright Act of 1976 as an unpublished work,
pursuant to Section 104 and Section 408 of Title XVII of the United
States code. Unauthorized copying, adaption, distribution, use, or
display is prohibited by this law.
____________________________________________________________________________
Use, duplication, or disclosure by the Government is subject to
restrictions as set forth in subparagraph(c)(1)(ii) of the Rights
in Technical Data and Computer Software clause at DFARS 52.227-7013.
Contractor/Manufacturer is Standard Microsystems Corporation,
80 Arkay Drive, Hauppauge, New York, 1178-8847.
____________________________________________________________________________
____________________________________________________________________________
<module name> - <module description>
____________________________________________________________________________
comments tbd
____________________________________________________________________________
Revision History
Date Who Comment
________ ___ _____________________________________________________________
07/16/99 tbh -initial version
01/02/01 tbh -back port for the '100
03/15/01 tbh -merged 10x and 20x versions for improved maintainability
-converted api macros into functions to facilitate
implementation, and facilitate debugging with an ice
============================================================================*/
// prototypes
void mmu_hard_reset(void) reentrant;
void mmu_rd_hdr(uint8 pnr, t_data_ref bufp) reentrant;
void mmu_rd_rqst(uint8 pnr, t_memory_ref bufp) reentrant;
void mmu_rd_pkt(uint8 pnr, uint16 len, t_memory_ref bufp) reentrant;
void mmu_rd_pkt_io(uint8 pnr, uint16 len, t_memory_ref bufp) reentrant;
void mmu_rd_pkt_ex(uint8 pnr, uint16 len, t_memory_ref bufp, t_bool autoincr) reentrant;
void mmu_rd(uint8 pnr, uint16 offset, uint16 len, t_memory_ref bufp) reentrant;
uint16 mmu_rd_len(uint8 pnr) reentrant;
void mmu_wr_pkt(uint8 ndp, uint8 pnr, t_memory_ref addr, uint16 len) reentrant;
void mmu_wr_pkt_io(uint8 ndp, uint8 pnr, t_memory_ref addr, uint16 len) reentrant;
void mmu_wr_pkt_ex(uint8 ndp, uint8 pnr, t_memory_ref addr, uint16 len, t_bool autoincr) reentrant;
void mmu_wr(uint8 pnr, uint16 offset, uint16 len, t_memory_ref bufp) reentrant;
void mmu_wr_len(uint8 ndp, uint8 pnr, uint16 len) reentrant;
void mmu_deallocate(uint8 pnr) reentrant;
uint8 mmu_allocate(void) reentrant;
//---eof------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -