MPLAB ? C32 C Compiler User’s Guide
The standard library function exit calls the weak function _exit prior to returning.
The standard library functions for signals, signal and raise , are implemented as
weak functions which always fail.
The standard library functions for locales, setlocale and localeconv , are
implemented as weak functions which do nothing.
The standard library function for accessing environment variables, getenv , is
implemented as a weak function which always returns NULL.
2.5
“HELPER” HEADER FILES
2.5.1
sys/attribs.h
Macros are provided for many commonly used attributes in order to enhance user code
readability.
__section__(s)
__unique_section__
__ramfunc__
__longramfunc__
__longcall__
__ISR(v,ipl)
__ISR_AT_VECTOR(v,ipl)
Apply the section attribute with section name s .
Apply the unique_section attribute.
Locate the attributed function in the RAM function code
section.
Locate the attributed function in the RAM function code
section and apply the longcall attribute.
Apply the longcall attribute.
Apply the interrupt attribute with priority level ipl
and the vector attribute with vector number v .
Apply the interrupt attribute with priority level ipl
and the at_vector attribute with vector number v .
2.5.2
sys/kmem.h
System code may need to translate between virtual and physical addresses, as well as
between kernel segment addresses. Macros are provided to make these translations
easier and to determine the segment an address is in.
KVA_TO_PA(v)
PA_TO_KVA0(pa)
PA_TO_KVA1(pa)
KVA0_TO_KVA1(v)
KVA1_TO_KVA0(v)
IS_KVA(v)
IS_KVA0(v)
IS_KVA1(v)
IS_KVA01(v)
Translate a kernel virtual address to a physical address.
Translate a physical address to a KSEG0 virtual address.
Translate a physical address to a KSEG1 virtual address.
Translate a KSEG0 virtual address to a KSEG1 virtual address.
Translate a KSEG1 virtual address to a KSEG0 virtual address.
Evaluates to 1 if the address is a kernel segment virtual address,
zero otherwise.
Evaluate to 1 if the address is a KSEG0 virtual address, zero
otherwise.
Evaluate to 1 if the address is a KSEG1 virtual address, zero
otherwise.
Evaluate to 1 if the address is either a KSEG0 or a KSEG1 virtual
address, zero otherwise.
2.6
MULTILIBS
2.6.1
What are Multilibs?
With multilibs, target libraries are built multiple times with a permutated set of options.
Multilibs are the resulting set of target libraries that are built with these options. When
the compiler shell is called to compile and link an application, the shell chooses the
version of the target library that has been built with the same options.
DS51686A-page 44
? 2007 Microchip Technology Inc.
相关PDF资料
SW300003-EVAL LIBRARY SOFT MODEM-EVAL ONLY
SW300010-EVAL SPEECH RECOG LIBRARY-EVAL ONLY
SW300040-EVAL LIBRARY NOISE SUPPR-EVAL ONLY
SW300060-EVAL LIBRARY ACOUSTIC ECHO-EVAL ONLY
SW300070-EVAL SOFTWARE LIBR ENC/DEC EVAL ONLY
SW500012 HI-TECH C PRO FOR PIC32
SY87701LHI-EVAL BOARD EVAL SY87701 EXPERIMENT
SY87729LHI-EVAL BOARD EVAL N SY87729 EXPERIMENT
相关代理商/技术参数
SW006021-1 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI C Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC; Software Edition:Standard
SW006021-1N 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER (F 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler (Fltng Lic)
SW006021-2 制造商:Microchip Technology 功能描述:MPLAB XC8 PRO COMPILER WORKSTATION LICENSE 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, PRO 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI PRO Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO Compiler 制造商:Microchip Technology Inc 功能描述:SOFTWARE TOOL, MPLAB XC8 PRO COMPILER; Core Architecture:PIC; Supported Families:PIC10, PIC16, PIC18; Software Edition:Linux; License Type:Floating - node; No. of User Licenses:1; Supported Hosts:-
SW006021-2C 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO CHI
SW006021-2N 功能描述:开发软件 MPLAB XC8 PRO Compiler (Fltng Lic) RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
SW006022-1 制造商:Microchip Technology 功能描述:MPLAB XC16 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 STANDARD COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC16, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 Standard Compiler (Workstation License) 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC, dsPIC; Software Edition:Standard
SW006022-1N 制造商:Microchip Technology 功能描述:MPLAB XC16 STANDARD COMPILER ( 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 Standard Compiler (Fltng Lic)
SW006022-2 功能描述:开发软件 MPLAB XC16 PRO Compiler RoHS:否 制造商:Microchip Technology 产品: 用于: