Mercurial > flash_v2
annotate packages/hal/sparclite/sleb/current/ChangeLog @ 46:797268ecc331 ecos-sw-1999-10-19
Merge from eCos master repository on 1999-10-19-18:55:31-BST
| author | jlarmour |
|---|---|
| date | Tue, 19 Oct 1999 19:19:52 +0000 |
| parents | 4f2df4ab82c8 |
| children | 755351606154 |
| rev | line source |
|---|---|
|
46
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
1 1999-10-14 John Dallaway <jld@cygnus.co.uk> |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
2 |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
3 * include/pkgconf/mlt_sparclite_sleb_ram.mlt, |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
4 include/pkgconf/mlt_sparclite_sleb_rom.mlt: |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
5 |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
6 Fix .mlt files to match the latest .ldi files. ROM startup |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
7 requires latest config tool which contains fix for PR 19799. |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
8 |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
9 1999-10-13 Hugo Tyson <hmt@cygnus.co.uk> |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
10 |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
11 * include/pkgconf/hal_sparclite_sleb.h: Add CDL and |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
12 [un]definitions for handling optional Multiple Vector Trapping and |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
13 optional copy of vectors into RAM - when it is optional. Also |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
14 define CYGHWR_HAL_SPARCLITE_HAS_ASR17 so that the arch HAL |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
15 self-configures correctly. |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
16 |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
17 * include/halboot.si: Copy trampoline code into section |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
18 .ram_vectors at __ram_vectors_start if so configured. |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
19 |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
20 * include/pkgconf/mlt_sparclite_sleb_ram.ldi: |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
21 * include/pkgconf/mlt_sparclite_sleb_ram.mlt: |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
22 * include/pkgconf/mlt_sparclite_sleb_rom.ldi: |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
23 * include/pkgconf/mlt_sparclite_sleb_rom.mlt: |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
24 Link in new variable size, sometimes 0 size, ram_vectors section; |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
25 this does away with the need to fib about the size of RAM, it was |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
26 previously defined to start at 0x4000200 to reserve a bit for |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
27 trampoline code. |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
28 (comment from the example .ldi files...) |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
29 The ram_vectors section is to allow some free space to copy |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
30 vectors into from the ROM. This is required to be variable size |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
31 to accomodate SVT or MVT; 80 bytes vs 4kB. Copying is not |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
32 necessary with MVT, but it is optional because it may offer |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
33 performance gains. Copying is required for SVT because the |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
34 (aligned) start of ROM contains initialization instructions. RAM |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
35 copy is used rather than leave a big gap in the ROM to get an |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
36 aligned address for the trampoline code. For RAM startup, |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
37 ram_vectors will usually be of size zero, unless MVT and copying |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
38 are enabled for memory estimation reasons. |
|
797268ecc331
Merge from eCos master repository on 1999-10-19-18:55:31-BST
jlarmour
parents:
16
diff
changeset
|
39 |
|
16
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
4
diff
changeset
|
40 1999-06-14 Hugo Tyson <hmt@cygnus.co.uk> |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
4
diff
changeset
|
41 |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
4
diff
changeset
|
42 * tests/slebtime.cxx (entry2): Fix a dumb fencepost prob in some |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
4
diff
changeset
|
43 string poking code for output without printf... |
|
4f2df4ab82c8
Merge from eCos master repository on 1999-06-18-15:25:04-BST
jlarmour
parents:
4
diff
changeset
|
44 |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
45 1999-04-23 Jesper Skov <jskov@cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
46 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
47 * src/hal_diag.c (hal_bsp_console_write): Added a workaround for PR |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
48 19926. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
49 |
| 2 | 50 1999-04-09 Hugo Tyson <hmt@cygnus.co.uk> |
| 51 | |
| 52 * include/hal_cache.h (HAL_[DI]CACHE_IS_ENABLED): | |
| 53 Implement these macros. | |
| 54 | |
| 55 1999-04-09 Hugo Tyson <hmt@cygnus.co.uk> | |
| 56 | |
| 57 * include/halboot.si: Use 10 wait states for access to the 86940 | |
| 58 on CS1; it seems to make the Reliability Difference(tm). | |
| 59 | |
| 60 1999-04-08 Hugo Tyson <hmt@cygnus.co.uk> | |
| 61 | |
| 62 * tests/slebtime.cxx: Add CYG_INIT_PRIORITY( APPLICATION ) to the | |
| 63 two static thread objects so that the test works even when libc | |
| 64 steals away the default constructors. Unfortunately this also | |
| 65 means switching to an assignment constructor instead of a call. | |
| 66 | |
| 67 1999-04-08 John Dallaway <jld@cygnus.co.uk> | |
| 68 | |
| 69 * include/pkgconf/*.ldi: Revised SECTION_* macro arguments to | |
| 70 avoid padded output sections (PR 19787) | |
| 71 | |
| 72 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk> | |
| 73 | |
| 74 * include/hal_hwio.h: New file: define accessors for 86940 via | |
| 75 alternate address space 4, register names and all that... just a | |
| 76 paste out of previous hal_diag.h - it was the wrong place, but | |
| 77 that's how it evolved. | |
| 78 | |
| 79 * include/hal_diag.h: Include hal_hwio.h to get accessors for | |
| 80 86940 et al. Do not define them here, it was the wrong place. | |
| 81 | |
| 82 * include/hal_clock.h: | |
| 83 * include/hal_xpic.h: | |
| 84 Include hal_hwio.h instead of hal_diag.h | |
| 85 | |
| 86 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk> | |
| 87 | |
| 88 * tests/slebintr.c (checkallbut): This is a more informative | |
| 89 version of the test when it fails: this is still under | |
| 90 investigation somewhat, and running the more verbose version | |
| 91 nightly will be useful. | |
| 92 | |
| 93 1999-03-30 Hugo Tyson <hmt@cygnus.co.uk> | |
| 94 | |
| 95 * tests/slebintr.c (start): After some thought, the timing code in | |
| 96 here could cause the test to take arbitrarily long; so some safety | |
| 97 features added. Normally the test loop is very fast, but with | |
| 98 cache effects and instrumentation and -O0 it could take ages; this | |
| 99 could explain the occasional timeouts we have seen for this test. | |
| 100 | |
| 101 1999-03-26 Hugo Tyson <hmt@cygnus.co.uk> | |
| 102 | |
| 103 * include/hal_cache.h: | |
| 104 Implement the cache control macros: at least | |
| 105 for x in ( D I ) | |
| 106 HAL_xCACHE_ENABLE/DISABLE | |
| 107 HAL_xCACHE_INVALIDATE_ALL, HAL_xCACHE_SYNC | |
| 108 in the first instance. kcache1 reports sensible numbers too! | |
| 109 | |
| 110 1999-03-26 Hugo Tyson <hmt@cygnus.co.uk> | |
| 111 | |
| 112 * tests/slebintr.c (HAL_CLOCK_READ): If there is no kernel, the | |
| 113 clock is not initialized, so looking at it is useless for a clue. | |
| 114 So provide a dummy so we perform a "few" loops when there's no | |
| 115 kernel. If there is no kernel, cyg_user_start() is never called, | |
| 116 main gets in and steals the CPU. So we hang. So if there is no | |
| 117 kernel, define cyg_start() instead to wrest control. Also very | |
| 118 much weaken the looping count check; kernel instrumentation, for | |
| 119 example, is more than enough to slow the world down too much. | |
| 120 | |
| 121 * tests/slebstak.c (cyg_[user_]start): | |
| 122 If there is no kernel, cyg_user_start() is never called, main gets | |
| 123 in and steals the CPU. So we hang. So if there is no kernel, | |
| 124 define cyg_start() instead to wrest control. | |
| 125 | |
| 126 * tests/slebtime.cxx: | |
| 127 Make this build when no kernel present; include of testcase &c | |
| 128 was the wrong side of the ifdef. Doh! | |
| 129 | |
| 130 1999-03-25 Hugo Tyson <hmt@cygnus.co.uk> | |
| 131 | |
| 132 * src/hal_priv.c (hal_clock_initialize): Oh dear, the clock was | |
| 133 only running half the speed it should have; this will make the | |
| 134 tm_basic figures look bad, maybe. It _appeared_ right because of | |
| 135 spurious interrupts, making two ISRs per tick, which covered the | |
| 136 error beautifully. So, the initialization is now corrected, now | |
| 137 that the interrupt management is better dealt with. | |
| 138 | |
| 139 * include/hal_xpic.h (HAL_INTERRUPT_ACKNOWLEDGE): Loop until | |
| 140 either the interrupt has stopped being asserted by the | |
| 141 prioritization latch (CLIRL) or the source has actually re-flagged | |
| 142 the interrupt, so that repeated, fast interrupts will re-interrupt | |
| 143 rather than causing a loop here. This is to prevent spurious | |
| 144 double interrupts caused by HAL_INTERRUPT_ACKNOWLEDGE() not taking | |
| 145 effect before the CPU re-enabled interrupts; this had been | |
| 146 covering the clock bug as well as confusing the serial system. | |
| 147 | |
| 148 Also placed a HAL_INTERRUPT_ACKNOWLEDGE() in | |
| 149 HAL_INTERRUPT_CONFIGURE() since the doc implies it is necessary | |
| 150 when changing that stuff; a spurious interrupt may be latched. | |
| 151 | |
| 152 1999-03-24 Hugo Tyson <hmt@cygnus.co.uk> | |
| 153 | |
| 154 * include/hal_xpic.h (HAL_INTERRUPT_CONFIGURE): | |
| 155 Implement this functionality, since Gary wanted to experiment with | |
| 156 it. Also add HAL_INTERRUPT_QUERY_INFO (platform specific) to read | |
| 157 back the settings of a particular interrupt source. | |
| 158 | |
| 159 * tests/slebintr.c: NEW FILE: test case for the above new macros. | |
| 160 * tests/slebstak.c: NEW FILE: tests the register save/restore code | |
| 161 by carrying out lots of factorial calculations. | |
| 162 * tests/slebtime.c: NEW FILE: tests HAL clocks for sanity; prints | |
| 163 useful diagnostics. Most useful when a human observes, if | |
| 164 it goes wrong this test is more likely to report a timeout | |
| 165 than a failure. | |
| 166 | |
| 167 * tests/sleb.c: FILE DELETED - moved to slebstak.c | |
| 168 | |
| 169 * tests/PKGconf.mak (TESTS): Reflect above changes. | |
| 170 | |
| 171 1999-03-23 John Dallaway <jld@cygnus.co.uk> | |
| 172 | |
| 173 * include/pkgconf/hal_sparclite_sleb.h: Modify display string | |
| 174 for consistency. | |
| 175 | |
| 176 1999-03-23 Hugo Tyson <hmt@cygnus.co.uk> | |
| 177 | |
| 178 * src/hal_diag.c (hal_diag_write_char): Precisely undo the | |
| 179 previous change: we disable interrupts to prevent the clock | |
| 180 advancing during the time taken to output to GDB. | |
| 181 | |
| 182 1999-03-18 Hugo Tyson <hmt@cygnus.co.uk> | |
| 183 | |
| 184 * src/hal_diag.c (hal_diag_write_char_serial): Do not disable | |
| 185 interrupts while calling the CygMon write-line routine; CygMon is | |
| 186 better now and can cope with interrupts there. | |
| 187 | |
| 188 1999-03-17 John Dallaway <jld@cygnus.co.uk> | |
| 189 | |
| 190 * include/pkgconf/mlt_sparclite_sleb_rom.mlt: Regenerate using | |
| 191 the eCos configuration tool to resolve errors. | |
| 192 | |
| 193 1999-03-17 Hugo Tyson <hmt@cygnus.co.uk> | |
| 194 | |
| 195 * include/pkgconf/mlt_sparclite_sleb_rom.mlt: | |
| 196 * include/pkgconf/mlt_sparclite_sleb_rom.ldi: | |
| 197 Move the start of RAM up 512 bytes; it is now at 0x04000200. This | |
| 198 is to leave space for the trampoline code ie. RAM trap vector | |
| 199 handler to live in RAM as is required. NB the vector must be on a | |
| 200 4k boundary; its location is determined by rounding down the start | |
| 201 of "normal" RAM ie. the symbol ".data". So if the start of RAM | |
| 202 isn't on a 4k boundary, or the trampoline code gets > 4k, there | |
| 203 will be trouble. | |
| 204 | |
| 205 * include/halboot.si: Copy trampoline code into RAM base during | |
| 206 startup, and deal with associated caching issues. | |
| 207 | |
| 208 * src/hal_priv.c (LED): Add this tidier macro and some extra LED | |
| 209 debug during start for help with ROM start. | |
| 210 | |
| 211 * include/pkgconf/hal_sparclite_sleb.h | |
| 212 (CYGHWR_HAL_SPARCLITE_SLEB_STARTUP): Add this define and its | |
| 213 associated notCDL for the GUI Config tool. | |
| 214 | |
| 215 1999-03-16 Hugo Tyson <hmt@cygnus.co.uk> | |
| 216 | |
| 217 * include/pkgconf/mlt_sparclite_sleb_rom.ldi: | |
| 218 * include/pkgconf/mlt_sparclite_sleb_rom.mlt: | |
| 219 New files, linker script fragment and MLT doc for ROM startup. | |
| 220 | |
| 221 * include/halboot.si: Only copy real instructions into the vector | |
| 222 if RAM startup. Delete lots of obsolete debugging "printout". | |
| 223 Size RAM dynamically. Set up chip selects, wait states, refresh | |
| 224 timing, system services, caches, buffers, burst mode access, ... | |
| 225 In other words complete hardware initialization. | |
| 226 | |
| 227 * include/hal_cpu.h: new file, taken directly from CygMon sources, | |
| 228 which defines various MB8683x internal registers which are used in | |
| 229 the initialization in halboot.si. | |
| 230 | |
| 231 * include/hal_diag.h (HAL_SPARC_86940_PRS_ODIV2): Add lots more | |
| 232 definition of the MB86940 companion I/O chip, editted from CygMon | |
| 233 sources. This should move into a proper IO file later. | |
| 234 Also, in the non-CYG_KERNEL_DIAG_GDB case where we write output to | |
| 235 the serial line in clear, do perform initialization. | |
| 236 | |
| 237 * src/hal_diag.c (hal_diag_init): Properly initialize the serial | |
| 238 line when not using GDB encoding (if GDB coding is in use, then we | |
| 239 have CygMon). | |
| 240 | |
| 241 * include/hal_clock.h (HAL_CLOCK_INITIALIZE): Initialize the clock | |
| 242 more cleanly and correctly, as CygMon does: so ticks are actually | |
| 243 centiSeconds, pretty much. Actual init routine is in hal_priv.c. | |
| 244 | |
| 245 * src/hal_priv.c (hal_clock_initialize): Properly initialize the | |
| 246 system clock to centiSeconds. | |
| 247 | |
| 248 1999-03-11 Hugo Tyson <hmt@cygnus.co.uk> | |
| 249 | |
| 250 * src/hal_priv.c (hal_board_prestart): | |
| 251 Link in the multi-thread aware debugging routine if | |
| 252 CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT. | |
| 253 | |
| 254 1999-03-09 Hugo Tyson <hmt@cygnus.co.uk> | |
| 255 | |
| 256 * src/hal_priv.c (hal_board_prestart): If playing nice with | |
| 257 CygMon, unmask and pass through interrupt 14 (Ethernet | |
| 258 controller). Install and unmask interrupt 15 (NMI button) | |
| 259 likewise. | |
| 260 | |
| 261 * src/hal_cygm.S (hal_nmi_handler): Add new handler for the NMI | |
| 262 interrupt (like a PIN number) INT15, the button near the serial | |
| 263 connector on the board. The handler must wait for the interrupt | |
| 264 to go away, then acknowledge it to prevent CygMon getting in a | |
| 265 loop. | |
| 266 | |
| 267 * include/halboot.si: Set IRC channel 14 (Ethernet controller) | |
| 268 interrupt to active low so that we can pass such events on to | |
| 269 CygMon. Tidy up comments and ifdefs. | |
| 270 | |
| 271 * include/hal_cygm.h (BSP_NOTVEC_BSP_COMM_PROCS): Define the | |
| 272 CygMon vector table entry that isn't a vector, but is a pointer to | |
| 273 struct tree with IO functions therein. | |
| 274 | |
| 275 * src/hal_diag.c (hal_diag_write_char et al): Add variants of | |
| 276 these routines to use IO functions provided by CygMon if thus | |
| 277 configured. Also tidied up direct GDB-ized serial output, which | |
| 278 is selected by CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT within | |
| 279 CYG_KERNEL_DIAG_GDB now. | |
| 280 | |
| 281 * include/pkgconf/hal_sparclite_sleb.h: Add definition for | |
| 282 CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT, disabled by default. More | |
| 283 comments too. | |
| 284 | |
| 285 1999-03-04 John Dallaway <jld@cygnus.co.uk> | |
| 286 | |
| 287 * include/pkgconf/*.ldi: give all LDI files unique names so | |
| 288 that they can co-exist in an eCos build tree (PR 19184) | |
| 289 * include/pkgconf/*.mlt: give all MLT files unique names so | |
| 290 that they can co-exist in an eCos build tree (PR 19184) | |
| 291 | |
| 292 1999-02-25 Hugo Tyson <hmt@cygnus.co.uk> | |
| 293 | |
| 294 These log entries from 1999-02-22 to 1999-02-24 were executed in | |
| 295 a branch; this change is a merge of that branch into the trunk. | |
| 296 | |
| 297 1999-02-25 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 298 | |
| 299 * src/hal_diag.c (hal_diag_write_char): | |
| 300 Wait for the GDB protocol ack character '+' after sending a line | |
| 301 of output as a $O packet; this prevents mismatches of the GDB | |
| 302 protocol when a breakpoint is hit temporally near such output. | |
| 303 This has the side effect that we must deal with seeing a ^C | |
| 304 character instead of the '+', whence we must bounce into CygMon's | |
| 305 BREAK vector using a trap. Hence the next change... | |
| 306 | |
| 307 * src/hal_cygm.S (hal_user_trap_to_cygmon_vsr): | |
| 308 Add additional "bounce to cygmon" capability such that user trap | |
| 309 2, "ta 2" trap type 130, does the same as "ta 1" ie. a breakpoint, | |
| 310 but first it advances the PC and NPC so that you can continue at | |
| 311 the instruction after. This is so that a voluntary inline | |
| 312 breakpoint can be implemented as "ta 2; nop; nop; nop" (nops just | |
| 313 for paranoia). | |
| 314 | |
| 315 1999-02-24 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 316 | |
| 317 * include/hal_diag.h: | |
| 318 Make hal_diag_init() and hal_diag_write_char() prototypes be extern "C" | |
| 319 for C++ files so they don't get name mangled | |
| 320 | |
| 321 1999-02-24 John Dallaway <jld@cygnus.co.uk> | |
| 322 | |
| 323 * include/pkgconf/hal_sparclite_sleb.h: Add MB8683x board | |
| 324 designation to description field. | |
| 325 | |
| 326 1999-02-24 Hugo Tyson <hmt@cygnus.co.uk> | |
| 327 | |
| 328 * include/pkgconf/hal_sparclite_sleb.h: | |
| 329 Non-CDLoptions, but #defines nontheless, | |
| 330 CYG_HAL_USE_ROM_MONITOR_CYGMON and CYG_KERNEL_DIAG_GDB are defined | |
| 331 here to control whether we cooperate with CygMon, and if so, do we | |
| 332 encapsulate out output in GDB $O packets, respectively. | |
| 333 | |
| 334 * include/hal_cygm.h: | |
| 335 New file to describe the CygMon vectors we call to cooperate with | |
| 336 CygMon and GDB. When cooperating, we install VSRs in some slots | |
| 337 that demux into CygMon's vector table, and in most slots we just | |
| 338 patch in the appropriate value from CygMon's vector table so that | |
| 339 CygMon is called directly. | |
| 340 | |
| 341 * include/hal_xpic.h: | |
| 342 Document the interrupt sources on the SLEB. | |
| 343 | |
| 344 * include/hal_diag.h (HAL_DIAG_WRITE_CHAR): | |
| 345 Call routines in hal_diag.c to perform encapsulation, or not, | |
| 346 depending on CYG_KERNEL_DIAG_GDB. | |
| 347 | |
| 348 * src/hal_cygm.S: New file, demuxer trampolines for user trap and | |
| 349 no-fp/no-cp VSRs to bounce into CygMon. | |
| 350 | |
| 351 * src/hal_diag.c: New file, routines to perform encapsulation of | |
| 352 output in GDB $O packets if required by CYG_KERNEL_DIAG. | |
| 353 | |
| 354 * src/hal_priv.c (hal_board_prestart): | |
| 355 If CYG_HAL_USE_ROM_MONITOR_CYGMON, install either CygMon's vectors | |
| 356 or demuxer trampolines into our VSRs during startup. | |
| 357 | |
| 358 * src/PKGconf.mak (COMPILE): Add new files hal_cygm.S hal_diag.c | |
| 359 | |
| 360 1999-02-23 John Dallaway <jld@cygnus.co.uk> | |
| 361 | |
| 362 * include/pkgconf/hal_sparclite_sleb.h: Revise capitalization | |
| 363 of CDL strings. | |
| 364 | |
| 365 1999-02-23 John Dallaway <jld@cygnus.co.uk> | |
| 366 | |
| 367 * include/pkgconf/hal_sparclite_sleb.h: Specify correct platform | |
| 368 for cdl_package CYGPKG_HAL_SPARCLITE_SLEB. | |
| 369 | |
| 370 1999-02-22 Hugo Tyson <hmt@cygnus.co.uk> | |
| 371 | |
| 372 * include/pkgconf/ram.mlt: | |
| 373 * include/pkgconf/ram.ldi: | |
| 374 All a lot more constraints on alignment: sections must be | |
| 375 word-aligned at least for the network loader to accept them. | |
| 376 I hope I have correctly modified the .mlt file; it's not exactly | |
| 377 self documenting. | |
| 378 | |
| 379 1999-02-22 Hugo Tyson <hmt@cygnus.co.uk> | |
| 380 | |
| 381 * include/hal_cache.h: New file | |
| 382 * include/hal_clock.h: New file | |
| 383 * include/hal_diag.h: New file | |
| 384 * include/hal_xpic.h: New file | |
| 385 * include/halboot.si: New file | |
| 386 * include/pkgconf/hal_sparclite_sleb.h: New file | |
| 387 * include/pkgconf/ram.ldi: New file | |
| 388 * include/pkgconf/ram.mlt: New file | |
| 389 * src/PKGconf.mak: New file | |
| 390 * src/hal_priv.c: New file | |
| 391 * tests/PKGconf.mak: New file | |
| 392 * tests/sleb.c: New file | |
| 393 | |
| 394 Initial checkin of the hardware platform port for SPARClite: | |
| 395 platform is sleb: SPARClite Evaluation Board. | |
| 396 | |
| 397 The structure here mirrors that in the sim directory, and in fact | |
| 398 was cloned from it after the change of 1999-02-08 for MLT | |
| 399 compliance. | |
| 400 | |
| 401 //=========================================================================== | |
| 402 //####COPYRIGHTBEGIN#### | |
| 403 // | |
| 404 // ------------------------------------------- | |
| 405 // The contents of this file are subject to the Cygnus eCos Public License | |
| 406 // Version 1.0 (the "License"); you may not use this file except in | |
| 407 // compliance with the License. You may obtain a copy of the License at | |
| 408 // http://sourceware.cygnus.com/ecos | |
| 409 // | |
| 410 // Software distributed under the License is distributed on an "AS IS" | |
| 411 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 412 // License for the specific language governing rights and limitations under | |
| 413 // the License. | |
| 414 // | |
| 415 // The Original Code is eCos - Embedded Cygnus Operating System, released | |
| 416 // September 30, 1998. | |
| 417 // | |
| 418 // The Initial Developer of the Original Code is Cygnus. Portions created | |
| 419 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved. | |
| 420 // ------------------------------------------- | |
| 421 // | |
| 422 //####COPYRIGHTEND#### | |
| 423 //=========================================================================== | |
| 424 | |
| 425 //EOF ChangeLog |
