| Home | Top | ← | → | Overview | Module | Class | Index | Help |
|
About |
|---|
|
||||
Example for a dynamic added custom platform.
Here Minix2 as a new distribution is added.
Version: 0.0.1
Author: Arno-Can Uestuensoez
License: Artistic-License-2.0 + Forced-Fairplay-Constraints
| Functions | |||
|
|||
| Variables | |
__uuid__ = "7add5ded-c39b-4b6e-8c87-1b3a1c150ee9"
|
|
RTE_MINIX2 = RTE_MINIX+ custom_dist.add_enum()Minix2 as distrel |
|
RTE_MINIX200 = RTE_MINIX2+ 0x00000400Minix-2.0.0 |
|
| Function Details |
A custom example only - standard encoding is default layout.
Convert the *Minix* specific *distrel* version layout
to a tuple.
A callback to be used by the function:
platformids.decode_rte_distrel_to_segments(rte=RTE)
Decodes the compressed *distrel* from the 32bit integer
bitmask *rte* into the corresponding tuple of integer
segments.
Args:
rte:
The comppressed runtime environment identifier bitmask.
default := RTE
Returns:
Tuple of Integer values of the encoded segments, either
as defined by the default layout, or any known as defined
by additional extended and/or custom criteria.
Raises:
pass-through
Examples:
::
decode_rte_distrel_to_segments()
=> (2, 0, 0) # on Minix-2.0.0
|
| Home | Top | ← | → | Overview | Module | Class | Index | Help |
|
About |
|---|
| Copyright(C) 2019 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez | https://arnocan.wordpress.com |
| Generated by Epydoc 4.0.4 / Python-3.8 / fedora27 on Wed Dec 18 15:06:54 2019 | http://epydoc.sourceforge.net |