Changes made to the VxWorks usrConfig.c file
This commit is contained in:
125
sinqhm/usrConfig.c_diffs
Executable file
125
sinqhm/usrConfig.c_diffs
Executable file
@ -0,0 +1,125 @@
|
||||
The following is the output generated by diff for the distribution copy
|
||||
of usrConfig.c and the version used for generating the SinqHM_srv
|
||||
Histogram Memory bootable image.
|
||||
24-Nov-1999
|
||||
Date of Distribution Version: Jul 12 1996
|
||||
Date of SinqHM_srv Version: Nov 24 1999
|
||||
======================================================================
|
||||
6,58d5
|
||||
< /*
|
||||
< ** This file should be copied to the VxWorks directory tree, e.g:
|
||||
< ** pss123> set src = "lnsa09:tas_src:[sinqhm]"
|
||||
< ** pss123> if ("$USER" != "maden") set src = "lnsg@$src"
|
||||
< ** pss123> rcp -p "${src}usrConfig.c" \
|
||||
< ** $HOME/wind/ppc/target/config/all/usrConfig.c
|
||||
< ** pss123> rcp -p "${src}bld." $HOME/wind/SinqHM/bld
|
||||
< **
|
||||
< ** The system images are:
|
||||
< **
|
||||
< ** $HOME/wind/SinqHM/vxWorks_basic
|
||||
< ** $HOME/wind/SinqHM/<instr>/vxWorks_auto
|
||||
< **
|
||||
< ** Using the Tornado tools:
|
||||
< ** =======================
|
||||
< ** To build the system image WITHOUT the SinqHM modules:
|
||||
< ** a) Start WindCFG with no target selected.
|
||||
< ** b) Select the "mv1603" BSP.
|
||||
< ** c) Select configuration "SinqHM"
|
||||
< ** d) Start up the editor and ensure that "SINQHM_SPAWN"
|
||||
< ** is either not defined or is defined to be 0.
|
||||
< ** e) Select the Build option.
|
||||
< ** f) Copy file vxWorks to $HOME/wind/SinqHM/vxWorks_basic.
|
||||
< **
|
||||
< ** To build the system image WITH the SinqHM modules:
|
||||
< ** a) Start WindCFG with no target selected.
|
||||
< ** b) Select the "mv1603" BSP.
|
||||
< ** c) Select configuration "SinqHM_spawn_<instr>".
|
||||
< ** d) Start up the editor and ensure that "SINQHM_SPAWN"
|
||||
< ** is defined to be non-zero, e.g:
|
||||
< ** #define SINQHM_SPAWN 1
|
||||
< ** e) Select the Build option.
|
||||
< ** f) Copy file $HOME/wind/ppc/target/config/mv1603/vxWorks
|
||||
< ** to $HOME/wind/SinqHM/<instr>/vxWorks_auto.
|
||||
< **
|
||||
< ** Using the bld script:
|
||||
< ** ====================
|
||||
< ** To build system images using the bld script:
|
||||
< **
|
||||
< ** a) without the SinqHM modules:
|
||||
< ** pss123> $HOME/wind/SinqHM/bld basic
|
||||
< ** b) with the SinqHM modules:
|
||||
< ** pss123> bld <instr> all
|
||||
< **
|
||||
< ** Warnings:
|
||||
< ** The bld script will only work if SINQHM_SPAWN is NOT
|
||||
< ** defined in $HOME/wind/ppc/target/config/mv1603/config.h
|
||||
< **
|
||||
< ** When using the bld script, be sure that the file
|
||||
< ** $HOME/wind/ppc/target/config/mv1603/configdb.h
|
||||
< ** is set to select the correct VxWorks options. It is
|
||||
< ** easiest to use the Tornado WindCFG tool to do this.
|
||||
< */
|
||||
62,67d8
|
||||
< V01E 24-Nov-1999 DM. Yet more updates to the above comments.
|
||||
< V01D 18-Jun-1999 DM. More updates to the above comments.
|
||||
< V01C 11-Dec-1998 DM. Just update the above comments.
|
||||
< V01B 4-Aug-1997 DM. Just spawn SinqHM_bootParamsConfig. This then spawns
|
||||
< anything else which is specified in the boot line.
|
||||
< V01A 3-Jun-1997 DM. Include spawning of SinqHM modules.
|
||||
402,411d342
|
||||
< #if (SINQHM_SPAWN != 0)
|
||||
< /*-----------------------------------------------------------------
|
||||
< ** Define local variables and templates for SinqHM modules
|
||||
< */
|
||||
<
|
||||
< void SinqHM_bootParamsConfig (void);
|
||||
<
|
||||
< /*-----------------------------------------------------------------*/
|
||||
< #endif /* (SINQHM_SPAWN != 0) */
|
||||
<
|
||||
415a347
|
||||
>
|
||||
913c845
|
||||
< printf (" Creation date: %s %s\n", __DATE__, __TIME__);
|
||||
---
|
||||
> printf (" Creation date: %s\n", __DATE__);
|
||||
969,975d900
|
||||
< #if (SINQHM_SPAWN != 0)
|
||||
< printf ("Spawning SinqHM_bootParamsConfig ...\n");
|
||||
< taskSpawn ("hmConfig", 100, VX_FP_TASK, 20000,
|
||||
< (FUNCPTR) SinqHM_bootParamsConfig,
|
||||
< 2400, 0, 0, 0, 0, 0, 0, 0, 0, 0);
|
||||
< /*------------------------------------------------------------------*/
|
||||
< #endif /* (SINQHM_SPAWN != 0) */
|
||||
1025,1033c950,967
|
||||
< /*
|
||||
< ** int fd;
|
||||
< */
|
||||
< printf ("VxWorks (for %s) version %s\n", sysModel (), vxWorksVersion);
|
||||
< printf ("Kernel: %s\n", kernelVersion ());
|
||||
< printf ("Made on %s\n", creationDate);
|
||||
< printf ("Delaying for 10 secs ...");
|
||||
< taskDelay (600);
|
||||
< printf (" done\n");
|
||||
---
|
||||
> char string [40];
|
||||
>
|
||||
> printf ("VxWorks (for %s) version %s.\n", sysModel (), vxWorksVersion);
|
||||
> printf ("Kernel: %s.\n", kernelVersion ());
|
||||
> printf ("Made on %s.\n", creationDate);
|
||||
>
|
||||
> FOREVER
|
||||
> {
|
||||
> printf ("\nThis is a test. Type something: ");
|
||||
> fioRdString (STD_IN, string, sizeof (string));
|
||||
> printf ("\nYou typed \"%s\".\n", string);
|
||||
>
|
||||
> if (strcmp (string, "0") == 0)
|
||||
> memShow (0);
|
||||
>
|
||||
> if (strcmp (string, "1") == 0)
|
||||
> memShow (1);
|
||||
> }
|
||||
1034a969
|
||||
>
|
||||
========================================================================= End
|
Reference in New Issue
Block a user