env
Environment module
Environment
Environment base class
Parameters:
Name | Type | Description | Default |
---|---|---|---|
platform |
Platform
|
Platform |
required |
arch |
Type[QuokkaArch]
|
Architecture |
required |
Attributes:
Name | Type | Description |
---|---|---|
platform |
Platform
|
Platform |
arch |
Type[QuokkaArch]
|
Architecture |
calling_convention |
Type[CallingConvention]
|
Calling convention |
Source code in quokka/analysis/env.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
|
__init__(platform, arch)
Constructor
Source code in quokka/analysis/env.py
77 78 79 80 81 82 83 84 85 86 87 |
|
Platform
Bases: Enum
Platform enumeration
Source code in quokka/analysis/env.py
90 91 92 93 94 95 96 |
|
get_calling_convention_for_arch_platform(platform, arch)
Retrieve the calling convention used for this couple platform/arch
Parameters:
Name | Type | Description | Default |
---|---|---|---|
platform |
Platform
|
Used platform |
required |
arch |
Type[QuokkaArch]
|
Used architecture |
required |
Returns:
Type | Description |
---|---|
Type[CallingConvention]
|
A calling convention |
Source code in quokka/analysis/env.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
|