SW006015 Microchip Technology, SW006015 Datasheet - Page 48

C COMPILER MPLAB C32

SW006015

Manufacturer Part Number
SW006015
Description
C COMPILER MPLAB C32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheets

Specifications of SW006015

Supported Families
PIC32MX5, MX6, And MX7
Core Architecture
PIC
Kit Contents
Software And Docs
Mcu Supported Families
PIC32 MCUs
Tool Function
Compiler
Supported Devices
PIC32 MCUs
Tool Type
Compiler
Processor Series
PIC32
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
2.5
2.6
DS51686A-page 44
“HELPER” HEADER FILES
MULTILIBS
®
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.1
Macros are provided for many commonly used attributes in order to enhance user code
readability.
2.5.2
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.
2.6.1
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.
__section__(s)
__unique_section__
__ramfunc__
__longramfunc__
__longcall__
__ISR(v,ipl)
__ISR_AT_VECTOR(v,ipl)
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)
sys/attribs.h
sys/kmem.h
What are Multilibs?
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.
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.
© 2007 Microchip Technology Inc.

Related parts for SW006015