OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/or1ksim
    from Rev 239 to Rev 240
    Reverse comparison

Rev 239 → Rev 240

/cpu/or32/or32.c
669,7 → 669,7
}
else
{
if (*enc == '0' || *enc == '1' || *enc == '-' || isalpha (*enc))
if (*enc == '0' || *enc == '1' || *enc == '-' || isalpha ((int)*enc))
{
opc_pos--;
if (param_ch == *enc)
867,7 → 867,7
if (*args == 'D')
type |= OPTYPE_DST;
}
else if (isalpha (*args))
else if (isalpha ((int)*args))
{
unsigned long arg;
arg = insn_extract (*args, opcode->encoding);
1163,13 → 1163,13
printf ("\n ret=%x opc_pos=%x, param_pos=%x\n", ret, opc_pos,
param_pos);
#endif
if (islower (param_ch))
if (islower ((int) param_ch))
ret -= ((insn >> opc_pos) & 0x1) << param_pos;
else
ret += ((insn >> opc_pos) & 0x1) << param_pos;
enc++;
}
else if (isalpha (*enc))
else if (isalpha ((int)*enc))
{
opc_pos--;
enc++;
/cpu/or32/generate.c
90,20 → 90,20
if (strncmp (str, "INSTRUCTION (", 13) == 0) {
char *s;
str += 13;
while (isspace (*str)) str++;
while (isspace ((int)*str)) str++;
s = str;
while (*s && *s != ')') s++;
*s = 0;
while (isspace(*(s - 1))) s--;
while (isspace((int)*(s - 1))) s--;
*s = 0;
if (strcmp (str, func_name) == 0) {
olevel = 1;
str += strlen (str) + 1;
while (isspace (*str)) str++;
while (isspace ((int)*str)) str++;
s = str;
while (*s && *s != '\n' && *s != '\r') s++;
*s = 0;
while (isspace(*(s - 1))) s--;
while (isspace((int)*(s - 1))) s--;
*s = 0;
/*shift_fprintf (level, fo, "#line %i \"%s\"\n", line_num, in_file);*/
shift_fprintf (level, fo, "%s", str);
/doc/or1ksim.info
1,5 → 1,5
This is ../../doc/or1ksim.info, produced by makeinfo version 4.13 from
../../doc/or1ksim.texi.
This is ../../or1ksim/doc/or1ksim.info, produced by makeinfo version
4.8 from ../../or1ksim/doc/or1ksim.texi.
 
INFO-DIR-SECTION Embedded development
START-INFO-DIR-ENTRY
1223,7 → 1223,8
 
`unknown'
The memory values are not initialized (i.e. left "unknown").
This option will yield faster initialization of the simulator.
This option will yield faster initialization of the
simulator.
 
`zero'
Set the memory values to be 0. This is the equivalent of
1754,8 → 1755,8
Tip: There is no registered port for Or1ksim telnet UART
connection. Priviledged access is required to read
traffic on the registered "well-known" telnet port (23).
Instead users should use port values in the "Dynamic" or
"Private" port range, i.e. 49152-65535.
Instead users should use port values in the "Dynamic"
or "Private" port range, i.e. 49152-65535.
 
`channel="fd:`rxfd',`txfd'"'
Read and write characters from and to the existing open
1763,8 → 1764,8
 
`channel="tty:device=/dev/ttyS0,baud=9600"'
Read and write characters from and to a physical serial port.
The precise device (shown here as `/dev/ttyS0') may vary from
machine to machine.
The precise device (shown here as `/dev/ttyS0') may vary
from machine to machine.
 
 
The default value for this field is `"xterm:"'.
2171,8 → 2172,8
Set the VALUE as the revision of the OCIDEC ATA/ATAPI interface.
The default value is 1. The default value is 0. Its value should
be in the range 0-15. Larger values are truncated with a warning.
This only affects the reset value of the `STAT' register, where it
forms bits 24-27.
This only affects the reset value of the `STAT' register, where
it forms bits 24-27.
 
`pio_mode0_t1 = VALUE'
`pio_mode0_t2 = VALUE'
3481,9 → 3482,9
(line 51)
* -f: Standalone Simulator.
(line 24)
* -g <1>: Memory Profiling Utility.
* -g <1>: Profiling Utility. (line 34)
* -g: Memory Profiling Utility.
(line 47)
* -g: Profiling Utility. (line 34)
* -h: Standalone Simulator.
(line 20)
* -h (memory profiling utility): Memory Profiling Utility.
3533,7 → 3534,7
* baseaddr (keyboard configuration): Keyboard Configuration.
(line 36)
* baseaddr (memory configuration): Memory Configuration.
(line 87)
(line 88)
* baseaddr (memory controller configuration): Memory Controller Configuration.
(line 46)
* baseaddr (UART configuration): UART Configuration. (line 22)
3559,7 → 3560,7
* cache configuration: Cache Configuration. (line 6)
* calling_convention (CUC configuration): CUC Configuration. (line 34)
* ce (memory configuration): Memory Configuration.
(line 117)
(line 118)
* cfgr (CPU configuration): CPU Configuration. (line 47)
* channel (UART configuration): UART Configuration. (line 29)
* clear breakpoint (Interactive CLI): Interactive Command Line.
3654,7 → 3655,7
* DCGE (power management register): Power Management Configuration.
(line 21)
* debug (Interactive CLI): Interactive Command Line.
(line 151)
(line 162)
* debug (simulator configuration): Simulator Behavior. (line 13)
* debug channel toggle (Interactive CLI): Interactive Command Line.
(line 141)
3672,9 → 3673,9
* DejaGNU tests directories: Regression Testing. (line 50)
* DejaGnu tool specific configuration: Regression Testing. (line 39)
* delayr (memory configuration): Memory Configuration.
(line 137)
(line 138)
* delayw (memory configuration): Memory Configuration.
(line 143)
(line 144)
* dependstats (CPU configuration): CPU Configuration. (line 89)
* dev_id (ATA/ATAPI configuration): Disc Interface Configuration.
(line 36)
3693,7 → 3694,7
* dm (Interactive CLI): Interactive Command Line.
(line 31)
* dma (Ethernet configuration): Ethernet Configuration.
(line 33)
(line 43)
* DMA configuration: DMA Configuration. (line 6)
* DMA verification (VAPI): Verification API. (line 73)
* dma_mode0_td (ATA/ATAPI configuration): Disc Interface Configuration.
3878,13 → 3879,13
* load_missdelay (data cache configuration): Cache Configuration.
(line 50)
* log (memory configuration): Memory Configuration.
(line 149)
(line 150)
* log_enabled (verification API configuration): Verification API Configuration.
(line 28)
* long: Simulator Library. (line 87)
* make file for tests: Regression Testing. (line 27)
* mc (memory configuration): Memory Configuration.
(line 126)
(line 127)
* memory configuration: Memory Configuration.
(line 6)
* memory controller configuration: Memory Controller Configuration.
3924,7 → 3925,7
* mprof_fn (simulator configuration - deprecated): Simulator Behavior.
(line 34)
* mprofile (Interactive CLI): Interactive Command Line.
(line 173)
(line 178)
* mprofile (simulator configuration): Simulator Behavior. (line 29)
* mwdma (ATA/ATAPI device configuration): Disc Interface Configuration.
(line 128)
3931,7 → 3932,7
* name (generic peripheral configuration): Generic Peripheral Configuration.
(line 42)
* name (memory configuration): Memory Configuration.
(line 108)
(line 109)
* no_multicycle (CUC configuration): CUC Configuration. (line 42)
* nsets (cache configuration): Cache Configuration. (line 15)
* nsets (MMU configuration): Memory Management Configuration.
3965,7 → 3966,7
* patching the program counter (Interactive CLI): Interactive Command Line.
(line 51)
* pattern (memory configuration): Memory Configuration.
(line 75)
(line 76)
* pc (Interactive CLI): Interactive Command Line.
(line 51)
* PIC configuration: Interrupt Configuration.
4039,7 → 4040,7
* r (Interactive CLI): Interactive Command Line.
(line 14)
* random_seed (memory configuration): Memory Configuration.
(line 65)
(line 66)
* refresh_rate (frame buffer configuration): Frame Buffer Configuration.
(line 30)
* refresh_rate (VGA configuration): Display Interface Configuration.
4163,7 → 4164,7
* size (generic peripheral configuration): Generic Peripheral Configuration.
(line 30)
* size (memory configuration): Memory Configuration.
(line 92)
(line 93)
* sleep mode (power management register): Power Management Configuration.
(line 16)
* slow down factor (power management register): Power Management Configuration.
4236,7 → 4237,7
* type=unknown (memory configuration): Memory Configuration.
(line 50)
* type=zero (memory configuration): Memory Configuration.
(line 54)
(line 55)
* UART configuration: UART Configuration. (line 6)
* UART I/O from/to a physical serial port: UART Configuration.
(line 62)
4262,9 → 4263,9
* VAPI for UART: Verification API. (line 41)
* vapi_id (debug interface configuration): Debug Interface Configuration.
(line 43)
* vapi_id (DMA configuration) <1>: Ethernet Configuration.
* vapi_id (DMA configuration) <1>: DMA Configuration. (line 38)
* vapi_id (DMA configuration): Ethernet Configuration.
(line 88)
* vapi_id (DMA configuration): DMA Configuration. (line 38)
* vapi_id (GPIO configuration): GPIO Configuration. (line 32)
* vapi_id (UART configuration): UART Configuration. (line 85)
* vapi_log_file (verification API configuration): Verification API Configuration.
4285,55 → 4286,55
 

Tag Table:
Node: Top814
Node: Installation1224
Node: Preparation1471
Node: Configuring the Build1766
Node: Build and Install7880
Node: Known Issues8726
Node: Usage11788
Node: Standalone Simulator12002
Node: Profiling Utility15030
Node: Memory Profiling Utility15940
Node: Simulator Library17305
Node: Configuration25083
Node: Configuration File Format25695
Node: Configuration File Preprocessing25987
Node: Configuration File Syntax26284
Node: Simulator Configuration29069
Node: Simulator Behavior29360
Node: Verification API Configuration33889
Node: CUC Configuration35829
Node: Core OpenRISC Configuration37746
Node: CPU Configuration38248
Node: Memory Configuration42366
Node: Memory Management Configuration48824
Node: Cache Configuration51201
Node: Interrupt Configuration53587
Node: Power Management Configuration54323
Node: Branch Prediction Configuration55600
Node: Debug Interface Configuration56960
Node: Peripheral Configuration59303
Node: Memory Controller Configuration59929
Node: UART Configuration63343
Node: DMA Configuration66862
Node: Ethernet Configuration68729
Node: GPIO Configuration72705
Node: Display Interface Configuration74338
Node: Frame Buffer Configuration76647
Node: Keyboard Configuration78511
Node: Disc Interface Configuration80749
Node: Generic Peripheral Configuration85692
Node: Interactive Command Line87987
Node: Verification API94961
Node: Code Internals99391
Node: Coding Conventions99974
Node: Global Data Structures104401
Node: Concepts107058
Ref: Output Redirection107203
Node: Internal Debugging107742
Node: Regression Testing108266
Node: GNU Free Documentation License112061
Node: Index134468
Node: Top829
Node: Installation1239
Node: Preparation1486
Node: Configuring the Build1781
Node: Build and Install7895
Node: Known Issues8741
Node: Usage11803
Node: Standalone Simulator12017
Node: Profiling Utility15045
Node: Memory Profiling Utility15955
Node: Simulator Library17320
Node: Configuration25098
Node: Configuration File Format25710
Node: Configuration File Preprocessing26002
Node: Configuration File Syntax26299
Node: Simulator Configuration29084
Node: Simulator Behavior29375
Node: Verification API Configuration33904
Node: CUC Configuration35844
Node: Core OpenRISC Configuration37761
Node: CPU Configuration38263
Node: Memory Configuration42381
Node: Memory Management Configuration48849
Node: Cache Configuration51226
Node: Interrupt Configuration53612
Node: Power Management Configuration54348
Node: Branch Prediction Configuration55625
Node: Debug Interface Configuration56985
Node: Peripheral Configuration59328
Node: Memory Controller Configuration59954
Node: UART Configuration63368
Node: DMA Configuration66887
Node: Ethernet Configuration68754
Node: GPIO Configuration72730
Node: Display Interface Configuration74363
Node: Frame Buffer Configuration76672
Node: Keyboard Configuration78536
Node: Disc Interface Configuration80774
Node: Generic Peripheral Configuration85717
Node: Interactive Command Line88012
Node: Verification API94986
Node: Code Internals99416
Node: Coding Conventions99999
Node: Global Data Structures104426
Node: Concepts107083
Ref: Output Redirection107228
Node: Internal Debugging107767
Node: Regression Testing108291
Node: GNU Free Documentation License112086
Node: Index134493

End Tag Table
/doc/version.texi
1,4 → 1,4
@set UPDATED 4 August 2010
@set UPDATED 5 August 2010
@set UPDATED-MONTH August 2010
@set EDITION 2010-08-04
@set VERSION 2010-08-04
/sim-cmd.c
615,7 → 615,7
static char *
strip_space (char *str)
{
while (isblank (*str) && *str)
while (isblank ((int)*str) && *str)
str++;
return str;
}
732,7 → 732,7
{
redirstr = strip_space (++redirstr);
 
while (!isspace (*redirstr) && *redirstr)
while (!isspace ((int)*redirstr) && *redirstr)
redirstr++;
*redirstr = '\0';
 
752,7 → 752,7
{
argv[argc] = cur_arg;
argc++;
while (!isspace (*cur_arg) && *cur_arg)
while (!isspace ((int)*cur_arg) && *cur_arg)
cur_arg++;
if (*cur_arg)
{
/ChangeLog
1,3 → 1,10
2010-08-08 Julius Baxter <julius.baxter@orsoc.se>
 
* cpu/or32/or32.c: Fix compile warning about chars indexing arrays
* cpu/or32/generate.c: Fix compile warning about chars indexing arrays
* sim-cmd.c: Fix compile warning about chars indexing arrays
* peripheral/eth.h: Removed define for MSG_WAITALL under Cygwin
2010-08-06 Julius Baxter <julius.baxter@orsoc.se>
 
* cpu/or1k/spr-defs.h <SPR_VR_RES>: Fixed value (Thanks to Jonas Bonn)
/peripheral/eth.h
197,11 → 197,7
#else /* !HAVE_NET_ETHERNET_H && !HAVE_SYS_ETHERNET_H - */
#ifdef __CYGWIN__
/* define some missing cygwin defines.
*
* NOTE! there is no nonblocking socket option implemented in cygwin.dll
* so defining MSG_DONTWAIT is just (temporary) workaround !!!
*/
#define MSG_DONTWAIT 0x40
#define ETH_HLEN 14
#endif /* __CYGWIN__ */
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.