Subversion Repositories Kolibri OS

Rev

Rev 5191 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5191 Rev 6324
Line 1... Line 1...
1
/* This file defines the interface between the cr16 simulator and gdb.
1
/* This file defines the interface between the cr16 simulator and gdb.
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
   Copyright 2008-2013 Free Software Foundation, Inc.
3
   Copyright (C) 2008-2015 Free Software Foundation, Inc.
Line 4... Line 4...
4
 
4
 
5
   This file is part of GDB.
5
   This file is part of GDB.
Line 31... Line 31...
31
    SIM_CR16_MEMORY_DATA    = 0x10000000,
31
    SIM_CR16_MEMORY_DATA    = 0x10000000,
32
    SIM_CR16_MEMORY_DMAP    = 0x10000000,
32
    SIM_CR16_MEMORY_DMAP    = 0x10000000,
33
    SIM_CR16_MEMORY_IMAP    = 0x10000000
33
    SIM_CR16_MEMORY_IMAP    = 0x10000000
34
  };
34
  };
Line 35... Line -...
35
 
-
 
36
extern unsigned long sim_cr16_translate_dmap_addr
-
 
37
  (unsigned long offset,
-
 
38
   int nr_bytes,
-
 
39
   unsigned long *phys,
-
 
40
   void *regcache,
-
 
41
   unsigned long (*dmap_register) (void *regcache, int reg_nr));
-
 
42
 
-
 
43
extern unsigned long sim_cr16_translate_imap_addr
-
 
44
  (unsigned long offset,
-
 
45
   int nr_bytes,
-
 
46
   unsigned long *phys,
-
 
47
   void *regcache,
-
 
48
   unsigned long (*imap_register) (void *regcache, int reg_nr));
-
 
49
 
-
 
50
extern unsigned long sim_cr16_translate_addr
-
 
51
  (unsigned long vaddr,
-
 
52
   int nr_bytes,
-
 
53
   unsigned long *phys,
-
 
54
   void *regcache,
-
 
55
   unsigned long (*dmap_register) (void *regcache, int reg_nr),
-
 
56
   unsigned long (*imap_register) (void *regcache, int reg_nr));
-
 
57
 
-
 
58
 
35
 
Line 59... Line 36...
59
/* The simulator makes use of the following register information. */
36
/* The simulator makes use of the following register information. */
60
 
37
 
61
enum sim_cr16_regs
38
enum sim_cr16_regs