core/builtins/debugport.cif
changeset 0 7f656887cf89
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 # debugport.cif
       
     2 # 
       
     3 # Copyright (c) 2010 Accenture. All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of the "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 # 
       
     9 # Initial Contributors:
       
    10 # Accenture - Initial contribution
       
    11 #
       
    12 
       
    13 ==name debugport
       
    14 
       
    15 ==short-description
       
    16 
       
    17 Sets the debug port. If the port is not specified, displays the current setting.
       
    18 
       
    19 ==argument int port optional
       
    20 
       
    21 The debug port to set. The meaning of the number is platform-specific, but as a general rule: -2 means debug prints disabled entirely; Zero through n means uarts zero through n (where n is platform dependant); 42 means JTAG debug output (if supported by baseport).
       
    22 
       
    23 ==option bool f force
       
    24 
       
    25 Forcibly set the debugport in the kernel superpage. This allows to change the debugport to (eg) zero on variants that incorrectly disallow it because they were copied and pasted from the sample variant code. It also bypasses any variant initialisation that might normally happen when changing the debugport, so isn't entirely safe. Requires memoryaccess to be available.
       
    26 
       
    27 ==copyright
       
    28 
       
    29 Copyright (c) 2006-2010 Accenture. All rights reserved.
       
    30