Mercurial > ecos
annotate packages/hal/mips/arch/current/ChangeLog @ 10:d3fbcdfa1b2f ecos-sw-1999-05-29
Merge from eCos master repository on 1999-05-29-00:13:11-BST
| author | jlarmour |
|---|---|
| date | Fri, 28 May 1999 16:43:09 +0000 |
| parents | ece80412419a |
| children | 4cc3eff958ab |
| rev | line source |
|---|---|
|
10
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
1 1999-05-28 Nick Garnett <nickg@cygnus.co.uk> |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
2 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
3 * src/vectors.S: |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
4 Removed references to CYG_HAL_STARTUP_STUBS. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
5 Removed some defunct code. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
6 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
7 * include/hal_cache.h (HAL_ICACHE_INVALIDATE_ALL): Fixed typo. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
8 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
9 1999-05-27 Nick Garnett <nickg@cygnus.co.uk> |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
10 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
11 * src/vectors.S: |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
12 Move call to hal_diag_intr_start to a more useful place. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
13 Added a save of the current state pointer to memory for ctrl-c |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
14 support. Ensure that exceptions are enabled before calling the ISR |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
15 to allow breakpoints to function. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
16 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
17 * src/mips-stub.c: Imported asynchronous interrupt support from |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
18 libstub/cygmon. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
19 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
20 * include/hal_intr.h: Added HAL_DEFAULT_ISR to contain the name of |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
21 the default ISR. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
22 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
23 * src/hal_misc.c: Added code to call HAL_CTRLC_ISR to default ISR |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
24 if it is enabled. Added some (disabled) debug code. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
25 |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
26 * include/hal_cache.h: Added default implementation of |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
27 HAL_DCACHE_IS_ENABLED(). Made use of it in some cache macros. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
28 Also fixed some typos in some macros. |
|
d3fbcdfa1b2f
Merge from eCos master repository on 1999-05-29-00:13:11-BST
jlarmour
parents:
8
diff
changeset
|
29 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
30 1999-05-21 Hugo Tyson <hmt@cygnus.co.uk> |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
31 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
32 * include/hal_intr.h: Define HAL_INTERRUPT_STACK_BASE and |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
33 HAL_INTERRUPT_STACK_TOP so that stack usage macros in |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
34 kernel/.../stackmon.hxx can work. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
35 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
36 * src/vectors.S (cyg_interrupt_stack_base): Define this symbol for |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
37 the interrupt stack and its friend for the stack top so that we |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
38 can publish them with nice names. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
39 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
40 1999-05-21 Nick Garnett <nickg@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
41 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
42 * src/vectors.S: |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
43 Rationalized use of "at" and "noat" setting. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
44 Made use of "lar" where necessary. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
45 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
46 * src/mips-stub.c (__install_breakpoints): Added cache flushes to |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
47 ensure that the just-set breakpoint is migrated to main memory and |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
48 will be fetched by the instruction cache. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
49 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
50 * src/context.S: |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
51 Rationalized use of "at" and "noat" setting. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
52 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
53 * include/arch.inc: |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
54 Added initial value for the config0 register and added code to set |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
55 it to hal_cpu_init. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
56 Added default "lar" macro. |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
57 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
58 1999-05-16 Gary Thomas <gthomas@cygnus.co.uk> |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
59 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
60 * include/hal_intr.h (HAL_INTERRUPT_STACK_CALL_PENDING_DSRS): |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
61 Add macro for new DSR handling mechanism (was override of a |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
62 "weak" symbol in kernel). |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
63 |
|
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
64 1999-05-13 Nick Garnett <nickg@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
65 The following have been merged from a branch: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
66 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
67 1999-05-11 Nick Garnett <nickg@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
68 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
69 * include/hal_arch.h: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
70 * include/hal_intr.h: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
71 * include/hal_cache.h: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
72 * include/arch.inc: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
73 Changed references to "imp" and "implementation" to "var" and |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
74 "variant" respectively. These are better names for these files and |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
75 functions. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
76 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
77 * src/vectors.S: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
78 Removed or disabled some development/debug code. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
79 Same imp->var changes as above. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
80 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
81 1999-05-06 Nick Garnett <nickg@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
82 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
83 * src/vectors.S: Added call to hal_cpu_except_enable in |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
84 __default_exception_vsr to re-enable nested exceptions. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
85 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
86 * src/mips-stub.c: Use _registers[X] rather that register[X] for |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
87 accessing CPU registers, since the former may point to per-thread |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
88 register sets while the latter only refers to the current trap |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
89 register set. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
90 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
91 * include/arch.inc: Added hal_cpu_except_enable macro to |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
92 (re-)enable exception processing and disable interrupts. This is |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
93 necessary if we are to allow nested exceptions (like breakpoints |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
94 in exception handlers). |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
95 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
96 1999-04-29 Nick Garnett <nickg@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
97 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
98 * src/vectors.S: Reenable interrupts while processing exceptions. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
99 Several temporary kludges to permit us to test ROM code from RAM |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
100 under PMON. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
101 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
102 * include/mips.inc: Extended list of CP0 register aliases. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
103 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
104 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
105 * include/arch.inc: Added generic version of hal_cache_init to |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
106 disable kseg0 caching in config0 register. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
107 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
108 * include/hal_cache.h: Moved dummy addresses used in index |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
109 operations to 0x80000000, zero caused MMU exceptions. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
110 Fixed looping bugs in all macros that use them. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
111 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
112 1999-04-28 Gary Thomas <gthomas@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
113 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
114 [v1_2_2_beta branch] |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
115 * src/vectors.S: Add dummy "__gccmain()" |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
116 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
117 1999-04-27 Gary Thomas <gthomas@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
118 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
119 * include/hal_arch.h: Make minimum stack sizes more realistic. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
120 Also fix size of interrupt stack frame when FPU present. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
121 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
122 1999-04-23 Nick Garnett <nickg@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
123 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
124 * src/vectors.S: Added support for floating point register save |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
125 and restore. Fixed hal_interrupt_stack_call_pending_DSRs to use |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
126 hal_cpu_int_merge macro. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
127 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
128 * src/context.S: Added support for floating point register save |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
129 and restore. Started some preparations for 64 bit processor |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
130 support. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
131 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
132 * include/mips.inc: Added floating point register aliases. Moved |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
133 saved state to arch.inc. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
134 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
135 * include/hal_arch.h: Completed support for floating point state |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
136 save and restore. Parameterized GDB support macros a little to |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
137 enable GDB to work properly. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
138 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
139 * include/arch.inc: Added support for floating point state save |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
140 and restore. Moved assembler version of saved state layout here |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
141 from mips.inc. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
142 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
143 1999-04-22 Nick Garnett <nickg@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
144 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
145 * src/context.S (hal_thread_load_context): Substituted explicit |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
146 code to reload the interrupt enable state with a macro. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
147 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
148 * include/hal_cache.h: Removed default implementations of |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
149 HAL_[D/I]CACHE_[EN/DIS]ABLE since these were actually TX39 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
150 specific. There is aparrently no standard way of implementing |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
151 these function in the MIPS architecture. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
152 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
153 * include/mips.inc: Added a comment to point out a TX39-only |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
154 register. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
155 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
156 * src/vectors.S: Modified hal_interrupt_stack_call_pending_DSRs() |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
157 to also call DSRs with interrupts enabled. Returns interrupt state |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
158 to original value when finished. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
159 Use hal_cpu_int_ensable macro in place of explicit code in |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
160 hal_interrupt_stack_call_pending_DSRs(). |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
161 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
162 1999-04-21 Nick Garnett <nickg@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
163 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
164 * include/arch.inc: Ifdeffed definition of hal_intc_init macro to |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
165 allow it to be defined elsewhere. Added default versions of diag |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
166 macros. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
167 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
168 * src/vectors.S: Added some low-level diagnostic macros to show |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
169 HAL events if there is adequate hardware (such as leds). |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
170 Removed interrupt enable/disables in interrupt processing since we |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
171 can now go through a thread switch with interrupts disabled. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
172 Ifdeffed ISR tables so they can be defined elsewhere. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
173 Added implementation of hal_interrupt_stack_call_pending_DSRs. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
174 Added calls to implementation and platform init routines. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
175 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
176 * src/hal_misc.c: Many changes to hal_idle_thread_action() to |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
177 print or instrument various CPU registers. Left with code to |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
178 wiggle an led in the idle loop. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
179 Stripped out TX39 specific code and moved it to plf_misc.c. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
180 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
181 * src/context.S: Added code to save and restore the interrupt mask |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
182 state in thread contexts. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
183 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
184 * include/hal_intr.h: |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
185 Renamed default interrupts to match the hardware more closely. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
186 Added ifdef around HAL_TRANSLATE_VECTOR() so it can be made |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
187 platform/variant specific. Added implementation of |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
188 HAL_INTERRUPT_ACKNOWLEDGE(). |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
189 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
190 * include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): Aligned the |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
191 intitial stack pointer to 16 byte boundary, added an initial value |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
192 for the status register. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
193 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
194 * include/arch.inc: Added some nops to eret macros. |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
195 |
|
8
ece80412419a
Merge from eCos master repository on 1999-05-21-22:05:54-BST
jlarmour
parents:
6
diff
changeset
|
196 1999-04-13 John Dallaway <jld@cygnus.co.uk> |
|
6
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
197 |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
198 * src/mips.ld: Migrate global MIPS linker script to individual |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
199 MIPS variant directories |
|
d376b777e2ce
Merge from eCos master repository on 1999-05-14-19:27:43-BST
jlarmour
parents:
4
diff
changeset
|
200 |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
201 1999-04-30 Hugo Tyson <hmt@cygnus.co.uk> |
| 2 | 202 |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
203 Merge the following changes from the 1.2.1 release branch, |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
204 but without any CDL for CYGDBG_HAL_MIPS_INSTALL_CTRL_C_ISR, |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
205 it is always on. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
206 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
207 1999-04-30 Jesper Skov <jskov@cygnus.co.uk> |
| 2 | 208 * src/hal_misc.c: Added vector decoding to the below. |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
209 1999-04-30 Hugo Tyson <hmt@masala.cygnus.co.uk> |
| 2 | 210 * src/hal_misc.c (hal_init_ctrlc_intr): Chain onto the old value |
| 211 of the ISR when attaching the ctrl-c ISR; this allows chained | |
| 212 interrupts to work (otherwise a stack-wrecking interrupt loop | |
| 213 occurs). | |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
214 1999-04-29 Hugo Tyson <hmt@cygnus.co.uk> |
| 2 | 215 * include/pkgconf/hal_tx39.h (CYGDBG_HAL_MIPS_INSTALL_CTRL_C_ISR): |
| 216 New config option, on by default. | |
| 217 * src/hal_misc.c (hal_ctrlc_isr): Enable these features on | |
| 218 CYGDBG_HAL_MIPS_INSTALL_CTRL_C_ISR new config option. | |
| 219 | |
|
4
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
220 1999-04-28 Bart Veer <bartv@cygnus.co.uk> |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
221 |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
222 * src/PKGconf.mak: |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
223 Remove the -n argument to tail, it does not appear to be required |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
224 on any supported host and causes problems with some |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
225 implementations of tail. |
|
1d7f19c9e4d1
Merge from eCos master repository on 1999-05-11-21:11:10-BST
jlarmour
parents:
2
diff
changeset
|
226 |
| 2 | 227 1999-04-20 Jonathan Larmour <jlarmour@cygnus.co.uk> |
| 228 | |
| 229 * include/hal_intr.h: Don't sync TRR if platform sim - it doesn't need | |
| 230 it | |
| 231 | |
| 232 * include/pkgconf/hal_tx39.h: | |
| 233 Allow CYGARC_TX39_PR19846 to override | |
| 234 CYGHWR_HAL_MIPS_TX3904_TRR_REQUIRES_SYNC so that we can do something | |
| 235 sensible in the simulators | |
| 236 | |
| 237 Related to PR 19846 | |
| 238 | |
| 239 1999-04-15 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 240 | |
| 241 * src/tx39.ld: Define __bss_end at the end of the BSS | |
| 242 * src/hal_misc.c (hal_zero_bss): Stop at __bss_end rather than _end | |
| 243 when clearing BSS | |
| 244 These fix PR 19750 | |
| 245 | |
| 246 1999-04-15 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 247 | |
| 248 * src/hal_misc.c: | |
| 249 * src/vectors.S: | |
| 250 Separate parts of cyg_hal_invoke_constructors() out into new functions | |
| 251 cyg_hal_enable_caches() and cyg_hal_debug_init() so that | |
| 252 cyg_hal_invoke_constructors() can be called again safely if | |
| 253 necessary | |
| 254 Related fix to that of PR19642 | |
| 255 | |
| 256 1999-04-14 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 257 | |
| 258 * src/PKGconf.mak (EXTRAS): Don't generate extras.o here any more | |
| 259 But do define EXTRAS every time for the linker script | |
| 260 | |
| 261 1999-04-13 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 262 | |
| 263 * include/hal_intr.h (HAL_CLOCK_READ): | |
| 264 Add workaround for tx39 bug - needs to sync and wait for the | |
| 265 write buffer to clear before reading the clock. | |
| 266 Submitted by akira.yokosawa@toshiba.co.jp | |
| 267 | |
| 268 * include/pkgconf/hal_tx39.h | |
| 269 (CYGHWR_HAL_MIPS_TX3904_TRR_REQUIRES_SYNC): Define this by default | |
| 270 to implement above | |
| 271 | |
| 272 1999-04-12 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 273 | |
| 274 * include/hal_intr.h (HAL_VSR_SET_TO_ECOS_HANDLER): Added. | |
| 275 (HAL_VSR_SET): Cast types to CYG_ADDRESS to prevent warnings | |
| 276 | |
| 277 Part of fix for PRs 19731/19607 | |
| 278 | |
| 279 1999-04-09 Jesper Skov <jskov@cygnus.co.uk> | |
| 280 | |
| 281 * src/mips-stub.c: | |
| 282 Moved get_register and put_register to hal_stub.c. | |
| 283 | |
| 284 1999-04-08 John Dallaway <jld@cygnus.co.uk> | |
| 285 | |
| 286 * src/*.ld: Use double underscore substitution for period | |
| 287 character in SECTION_* macro names (PR 19787) | |
| 288 | |
| 289 1999-04-08 John Dallaway <jld@cygnus.co.uk> | |
| 290 | |
| 291 * src/*.ld: Revised SECTION_* macro arguments to | |
| 292 avoid padded output sections (PR 19787) | |
| 293 | |
| 294 1999-03-31 Nick Garnett <nickg@cygnus.co.uk> | |
| 295 | |
| 296 * include/hal_cache.h: Added include of hal.h and a test that a | |
| 297 valid set of macros have been added. | |
| 298 Also moved address used in HAL_DCACHE_INVALIDATE_ALL() to | |
| 299 0x9fc00000, which is the cached ROM space. | |
| 300 | |
| 301 1999-03-24 Nick Garnett <nickg@cygnus.co.uk> | |
| 302 | |
| 303 * src/vectors.S: | |
| 304 Added options to allow different settings for DRAM initialization. | |
| 305 Fixed some ifdef bugs. | |
| 306 | |
| 307 * src/hal_misc.c (cyg_hal_invoke_constructors): | |
| 308 Added ifdefs to control enabling and disabling of timeout | |
| 309 exceptions. | |
| 310 | |
| 311 * include/pkgconf/hal_tx39.h: | |
| 312 Added translations from the user friendly CPU speed settings into | |
| 313 the real CPU frequencies in Hz. | |
| 314 | |
| 315 * include/hal_intr.h: | |
| 316 Added HAL_TX39_DEBUG_TOE_ENABLE() and ...DISABLE, to switch | |
| 317 timeout exceptions on and off. | |
| 318 | |
| 319 1999-03-23 Nick Garnett <nickg@cygnus.co.uk> | |
| 320 | |
| 321 * include/hal_arch.h: | |
| 322 Modified stack size definitions to be more accurate. | |
| 323 | |
| 324 1999-03-22 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 325 | |
| 326 * include/mips-regs.h: Update copyright | |
| 327 | |
| 328 * include/mips-stub.h: Update copyright | |
| 329 | |
| 330 * src/mips-stub.c: Update copyright | |
| 331 | |
| 332 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk> | |
| 333 | |
| 334 * include/hal_arch.h: | |
| 335 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of | |
| 336 CYGNUM_HAL_MINIMUM_STACK_SIZE. | |
| 337 | |
| 338 1999-03-17 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 339 | |
| 340 * src/hal_misc.c (cyg_hal_user_break): Remove #warning - it doesn't | |
| 341 really provide any useful info, and may unnecessarily worry a user | |
| 342 since it fires in normal situations | |
| 343 | |
| 344 1999-03-17 John Dallaway <jld@cygnus.co.uk> | |
| 345 | |
| 346 * src/PKGconf.mak: Remove dependence on echo '-e' switch. | |
| 347 | |
| 348 1999-03-16 Nick Garnett <nickg@cygnus.co.uk> | |
| 349 | |
| 350 * src/vectors.S: Removed definition of idle thread stack. | |
| 351 | |
| 352 1999-03-15 Nick Garnett <nickg@cygnus.co.uk> | |
| 353 | |
| 354 * include/hal_cache.h: | |
| 355 Changed implementation of HAL_DCACHE_INVALIDATE_ALL() to read from | |
| 356 ROM space rather than RAM. This fixes PR 19510. | |
| 357 | |
| 358 1999-03-12 Nick Garnett <nickg@cygnus.co.uk> | |
| 359 | |
| 360 * src/vectors.S: Modified ROMC and SCS settings in line with | |
| 361 Toshiba's suggestions for compatibility with other CPU variants. | |
| 362 | |
| 363 1999-03-12 Gary Thomas <gthomas@cygnus.co.uk> | |
| 364 | |
| 365 * include/hal_arch.h: Add definition for 'CYGNUM_HAL_MINIMUM_STACK_SIZE' | |
| 366 | |
| 367 1999-03-11 Nick Garnett <nickg@cygnus.co.uk> | |
| 368 | |
| 369 * src/hal_misc.c: | |
| 370 Disabled use of stand-alone ^C detection interrupt. This is now | |
| 371 done in the serial driver. Added cyg_hal_is_break() and | |
| 372 cyg_hal_user_break() to detect and provoke ^C processing. These | |
| 373 are used by the serial driver and will one day interact with the | |
| 374 BSP/Cygmon/GDB stubs to do the right thing. | |
| 375 | |
| 376 1999-03-10 Jesper Skov <jskov@cygnus.co.uk> | |
| 377 | |
| 378 * include/hal_intr.h (HAL_INTERRUPT_IN_USE): Added. | |
| 379 | |
| 380 1999-03-10 Nick Garnett <nickg@cygnus.co.uk> | |
| 381 | |
| 382 * include/pkgconf/hal_tx39.h: | |
| 383 * src/vectors.S: | |
| 384 Changed names used to control CPU frequency into something more | |
| 385 generic. Moved definition into hal_tx39.h from hal_tx39_jmr3904.h. | |
| 386 | |
| 387 1999-03-09 Jesper Skov <jskov@cygnus.co.uk> | |
| 388 PR 19370 | |
| 389 * src/hal_misc.c (cyg_hal_invoke_constructors): Changed | |
| 390 constructor loop. | |
| 391 | |
| 392 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk> | |
| 393 | |
| 394 * src/tx39.ld: | |
| 395 * src/PKGconf.mak: Clean up I/O package changes. | |
| 396 | |
| 397 1999-03-04 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 398 | |
| 399 * src/tx39.ld: | |
| 400 Add INPUT(libextras.a), include libextras.a in GROUP() and include | |
| 401 new __DEVTAB__ section for new device drivers | |
| 402 | |
| 403 1999-02-25 Nick Garnett <nickg@cygnus.co.uk> | |
| 404 | |
| 405 * src/vectors.S: | |
| 406 Changed label used to access scheduler lock to one that is not | |
| 407 mangled by C++. This is intended to make support for interrupt | |
| 408 handling in non-kernel configurations easier. | |
| 409 Added some code to initialize DRAM in ROM-only configurations. | |
| 410 | |
| 411 1999-02-23 Nick Garnett <nickg@cygnus.co.uk> | |
| 412 | |
| 413 * src/hal_misc.c: | |
| 414 Added support for SIGINT-causing magic breakpoint. This involves | |
| 415 passing a third, hidden argument to hal_ctrlc_isr() which is a | |
| 416 pointer to the saved CPU state. | |
| 417 | |
| 418 * src/vectors.S: | |
| 419 Added support for 66MHz part (untested). | |
| 420 Added support for SIGINT-causing magic breakpoint to allow | |
| 421 continuation after ^C. This also relies on CYGMON changes. | |
| 422 | |
| 423 1999-02-20 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 424 | |
| 425 * include/hal_arch.h: | |
| 426 Rename deliver_exception() -> cyg_hal_deliver_exception() | |
| 427 QA improvements | |
| 428 | |
| 429 * include/hal_intr.h: | |
| 430 Reorganise vector/interrupt/exception names according to purpose | |
| 431 QA improvements | |
| 432 | |
| 433 * src/hal_misc.c: | |
| 434 Rename deliver_exception() -> cyg_hal_deliver_exception() | |
| 435 Rename CYG_VECTOR_SIO_0 -> CYGNUM_HAL_INTERRUPT_SIO_0 | |
| 436 | |
| 437 1999-02-16 Jesper Skov <jskov@cygnus.co.uk> | |
| 438 | |
| 439 * src/vectors.S: Added call to initialize_stub. | |
| 440 | |
| 441 * src/mips-stub.c: | |
| 442 * include/mips-stub.h: | |
| 443 Cleaned up to only include arch specific stub code. | |
| 444 | |
| 445 * include/hal_arch.h (HAL_BREAKPOINT): Added SIM breakpoint code | |
| 446 from (now dead) jmr3904/.../hal_stub.c. | |
| 447 | |
| 448 1999-02-05 John Dallaway <jld@cygnus.co.uk> | |
| 449 | |
| 450 * src/mips.ld: Rename to tx39.ld since this is the target name | |
| 451 * src/PKGconf.mak: Process tx39.ld instead of mips.ld | |
| 452 | |
| 453 1999-02-05 John Dallaway <jld@cygnus.co.uk> | |
| 454 | |
| 455 * src/mips.ld: Add LMA_EQ_VMA macro definition. | |
| 456 | |
| 457 1999-02-03 Jesper Skov <jskov@cygnus.co.uk> | |
| 458 | |
| 459 * src/hal_misc.c: | |
| 460 * include/hal_cache.h: | |
| 461 Moved nested external declarations into top-level scope to avoid | |
| 462 compiler warnings. | |
| 463 | |
| 464 1999-02-02 Nick Garnett <nickg@cygnus.co.uk> | |
| 465 | |
| 466 * include/hal_cache.h : | |
| 467 In HAL_ICACHE_INVALIDATE_ALL() and HAL_ICACHE_INVALIDATE(), fixed | |
| 468 typos in passing arguments to asm sections. | |
| 469 Fixes PR 18951. | |
| 470 | |
| 471 1999-01-26 Hugo Tyson <hmt@masala.cygnus.co.uk> | |
| 472 | |
| 473 * src/mips.ld: | |
| 474 Add copyright notice. (Though these files will later be generated | |
| 475 by a tool and so not copyright, these default setups are.) | |
| 476 | |
| 477 1999-01-21 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 478 | |
| 479 * src/hal_misc.c (cyg_hal_invoke_constructors): | |
| 480 Add code to deal with CYGSEM_HAL_STOP_CONSTRUCTORS_ON_FLAG | |
| 481 Tidy up and update description header | |
| 482 Shorten needlessly long lines | |
| 483 Remove all traces of non-CYG_KERNEL_USE_INIT_PRIORITY code | |
| 484 | |
| 485 1999-01-15 Hugo Tyson <hmt@cygnus.co.uk> | |
| 486 | |
| 487 * src/mips.ld: | |
| 488 Provide alternate definition of macro SECTION_rom_vectors() for | |
| 489 RAM startup (CYG_HAL_STARTUP_RAM) so that minimal sim testing | |
| 490 works. Note: this is an instance where two definitions (of | |
| 491 identical "API") of a macro occur in the prototype <target>.ld | |
| 492 file; the MLT is required not to be confused by this. | |
| 493 | |
| 494 1999-01-15 John Dallaway <jld@cygnus.co.uk> | |
| 495 | |
| 496 * src/mips.ld: add section macro for .vsr_table | |
| 497 | |
| 498 1999-01-13 John Dallaway <jld@cygnus.co.uk> | |
| 499 | |
| 500 * src/mips.ld: add section macro for .rel.dyn | |
| 501 | |
| 502 1999-01-13 John Dallaway <jld@cygnus.co.uk> | |
| 503 | |
| 504 * src/mips.ld: new linker script for MLT | |
| 505 * src/PKGconf.mak: add mips.ld rules for MLT | |
| 506 | |
| 507 1999-01-13 Gary Thomas <gthomas@cygnus.co.uk> | |
| 508 | |
| 509 * include/basetype.h: CYG_DOUBLE_BYTEORDER now in <infra/cyg_type.h> | |
| 510 | |
| 511 1999-01-12 Gary Thomas <gthomas@cygnus.co.uk> | |
| 512 | |
| 513 * include/basetype.h (CYG_DOUBLE_BYTEORDER): Define ordering | |
| 514 for words within doubles. | |
| 515 | |
| 516 1999-01-12 Nick Garnett <nickg@cygnus.co.uk> | |
| 517 | |
| 518 * include/hal_cache.h: | |
| 519 Modified HAL_DCACHE_INVALIDATE_ALL() to correctly touch all cache | |
| 520 lines twice to ensure that the cache and memory are | |
| 521 consistent. This is the best we can do without direct support for | |
| 522 invalidation. | |
| 523 | |
| 524 * src/hal_misc.c: Altered call to patch_dbg_syscalls() to pass | |
| 525 pointer to base of vector rather than a single vector entry. | |
| 526 | |
| 527 1998-12-15 Jesper Skov <jskov@cygnus.co.uk> | |
| 528 PR 18543 | |
| 529 | |
| 530 * include/hal_cache.h (HAL_DCACHE_INVALIDATE): Fixed variable | |
| 531 name. | |
| 532 | |
| 533 1998-12-15 Jesper Skov <jskov@cygnus.co.uk> | |
| 534 | |
| 535 * include/hal_arch.h: | |
| 536 * src/context.S (hal_setjmp, hal_longjump): | |
| 537 Added CYGARC definitions for jmpbuf entries. | |
| 538 Corrected jmpbuf size. | |
| 539 | |
| 540 1998-12-10 Jesper Skov <jskov@cygnus.co.uk> | |
| 541 | |
| 542 * include/hal_cache.h (HAL_DCACHE_UNLOCK_ALL, | |
| 543 HAL_ICACHE_UNLOCK_ALL): Added. | |
| 544 | |
| 545 1998-11-26 Jesper Skov <jskov@cygnus.co.uk> | |
| 546 | |
| 547 * include/mips-regs.h: | |
| 548 * src/mips-stub.c: | |
| 549 Added use of CYGARC_HAL_COMMON_EXPORT_CPU_MACROS. | |
| 550 | |
| 551 1998-11-18 Gary Thomas <gthomas@cygnus.co.uk> | |
| 552 | |
| 553 * include/hal_intr.h: Add support for interrupt latency | |
| 554 measurements, controlled by CYGVAR_KERNEL_COUNTERS_CLOCK_LATENCY. | |
| 555 | |
| 0 | 556 1998-10-27 Jesper Skov <jskov@cygnus.co.uk> |
| 557 PR 18033 | |
| 558 | |
| 559 * include/hal_intr.h: Replaced CYGIMP_HAL_INTERRUPTS_CHAIN | |
| 560 with the correct CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN. | |
| 561 | |
| 562 1998-10-27 Jesper Skov <jskov@cygnus.co.uk> | |
| 563 PR 18021 | |
| 564 * src/hal_misc.c (hal_ctrlc_isr): Removed break; to prevent | |
| 565 compiler error. | |
| 566 | |
| 567 1998-10-25 Jesper Skov <jskov@cygnus.co.uk> | |
| 568 | |
| 569 * src/mips-stub.c (__build_t_packet): Replaced | |
| 570 CYGDBG_KERNEL_DEBUG_GDB_THREAD_SUPPORT with | |
| 571 CYGDBG_HAL_DEBUG_GDB_THREAD_SUPPORT. | |
| 572 Fixed #endif comment. | |
| 573 | |
| 574 * src/hal_misc.c (hal_ctrlc_isr): Replaced | |
| 575 CYGDBG_KERNEL_DEBUG_GDB_INCLUDE_STUBS with | |
| 576 CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS. | |
| 577 | |
| 578 * include/hal_intr.h: Replaced CYGIMP_KERNEL_INTERRUPTS_CHAIN with | |
| 579 CYGIMP_HAL_INTERRUPTS_CHAIN. | |
| 580 | |
| 581 1998-10-23 Jesper Skov <jskov@cygnus.co.uk> | |
| 582 | |
| 583 * include/hal_intr.h: Include pkgconf/hal.h. | |
| 584 | |
| 585 1998-10-16 Bart Veer <bartv@cygnus.co.uk> | |
| 586 | |
| 587 * src/vectors.S (__interrupt_stack): | |
| 588 Made the interrupt stack size configurable. | |
| 589 | |
| 590 1998-10-16 Nick Garnett <nickg@cygnus.co.uk> | |
| 591 | |
| 592 * src/hal_misc.c: | |
| 593 Enabled caches by default. | |
| 594 | |
| 595 1998-10-14 Nick Garnett <nickg@cygnus.co.uk> | |
| 596 | |
| 597 * src/context.S (hal_thread_switch_context): | |
| 598 Store copy of R31(RA) in PC slot in register state to keep GDB | |
| 599 happy. | |
| 600 * include/hal_arch.h (HAL_THREAD_INIT_CONTEXT): | |
| 601 Intialize PC slot in register state. | |
| 602 | |
| 603 * src/hal_misc.c: | |
| 604 Altered ifdefs to allow building without kernel present. | |
| 605 | |
| 606 * include/mips-stub.h: | |
| 607 Include generic-stub.h from HAL rather than from kernel. | |
| 608 | |
| 609 * src/mips-stub.c: | |
| 610 Added signal definitions to avoid including signal.h. | |
| 611 | |
| 612 * include/hal_intr.h: | |
| 613 Added implementations of HAL_INTERRUPT_ACKNOWLEDGE() and | |
| 614 HAL_INTERRUPT_SET_LEVEL(). | |
| 615 | |
| 616 1998-10-13 Jesper Skov <jskov@cygnus.co.uk> | |
| 617 | |
| 618 * src/hal_misc.c: Use GDB array rather than HAL_SavedRegisters | |
| 619 structure. Rely on generic stub to pack/unpack the array. | |
| 620 | |
| 621 * include/hal_arch.h (HAL_GET_GDB_REGISTERS, | |
| 622 HAL_SET_GDB_REGISTERS): get/set full register set. | |
| 623 | |
| 624 1998-10-13 Jesper Skov <jskov@cygnus.co.uk> | |
| 625 | |
| 626 * include/mips-stub.h: Moved first use of regnames below | |
| 627 definition. | |
| 628 | |
| 629 Sun Sep 27 12:17:42 1998 Jesper Skov <jskov@cygnus.co.uk> | |
| 630 | |
| 631 * include/hal_cache.h (HAL_DCACHE_LOCK): Terminate asm string. | |
| 632 | |
| 633 1998-09-26 Nick Garnett <nickg@cygnus.co.uk> | |
| 634 | |
| 635 * include/hal_cache.h: | |
| 636 Cleaned up some compilation errors. | |
| 637 | |
| 638 Tue Sep 15 19:13:43 1998 David Moore <dsm@keema.cygnus.co.uk> | |
| 639 | |
| 640 * src/vectors.S: Cleaned up comments. | |
| 641 | |
| 642 1998-09-15 Nick Garnett <nickg@cygnus.co.uk> | |
| 643 | |
| 644 * include/hal_arch.h (HAL_GET_GDB_REGISTERS): | |
| 645 Initialized R30 to a copy of SP to avoid GDB making bogus memory | |
| 646 references. | |
| 647 | |
| 648 * src/hal_misc.c: | |
| 649 Added support for Ctrl-C processing when running under Cygmon. | |
| 650 Fixed a compiler warning. | |
| 651 | |
| 652 1998-09-14 Bart Veer <bartv@cygnus.co.uk> | |
| 653 | |
| 654 * src/PKGconf.mak: | |
| 655 Made vectors.o dependent on the various files that can contain | |
| 656 makefile variables or rules. This is needed after changes to | |
| 657 pkgconf.tcl for PRs 17195 and 17286. | |
| 658 | |
| 659 Mon Sep 14 11:10:20 1998 Jesper Skov <jskov@lassi.cygnus.co.uk> | |
| 660 PR 17230 | |
| 661 | |
| 662 * src/vectors.S: Replaced CYGIMP_KERNEL_INTERRUPTS_CHAIN with new | |
| 663 CYGIMP_HAL_COMMON_INTERRUPTS_CHAIN. | |
| 664 | |
| 665 1998-09-14 Nick Garnett <nickg@cygnus.co.uk> | |
| 666 PR 17230 | |
| 667 | |
| 668 * include/hal_intr.h: | |
| 669 Added HAL_TRANSLATE_VECTOR() to translate a supplied vector number | |
| 670 into one that can be used in the HAL. Added calls to it in | |
| 671 HAL_INTERRUPT_ATTACH() and HAL_INTERRUPT_DETACH(). | |
| 672 | |
| 673 1998-09-12 Bart Veer <bartv@cygnus.co.uk> | |
| 674 | |
| 675 * include/pkgconf/hal_tx39.h: | |
| 676 Added missing descriptions (PR 17184) | |
| 677 | |
| 678 * src/vectors.S: | |
| 679 <pkgconf/kernel.h> was being included without properly checking | |
| 680 that the kernel package was enabled. | |
| 681 | |
| 682 * src/hal_misc.c (exception_handler): | |
| 683 Sort out exception handling options (PR 16953) | |
| 684 | |
| 685 1998-09-11 Nick Garnett <nickg@cygnus.co.uk> | |
| 686 PR 17230 | |
| 687 | |
| 688 * src/vectors.S (__default_interrupt_vsr): | |
| 689 Modified interrupt decode code to preserve raising interrupt | |
| 690 number to pass to ISR, even when using chained interrupts. | |
| 691 | |
| 692 1998-09-03 Bart Veer <bartv@cygnus.co.uk> | |
| 693 | |
| 694 * src/mips-stub.c: | |
| 695 Fixed type in config option name. | |
| 696 | |
| 697 1998-09-02 Bart Veer <bartv@cygnus.co.uk> | |
| 698 | |
| 699 * include/pkgconf/hal_tx39.h: | |
| 700 New header file for architecture-specific configuration options | |
| 701 | |
| 702 * tests/PKGconf.mak: | |
| 703 * src/PKGconf.mak: | |
| 704 Sort out package naming conventions. | |
| 705 | |
| 706 Tue Sep 1 19:26:45 1998 Hugo Tyson <hmt@cygnus.co.uk> | |
| 707 | |
| 708 * src/hal_misc.c: | |
| 709 Use CYGDBG_INFRA_DIAG_USE_DEVICE (from infra.h) instead of | |
| 710 CYG_DIAG_USE_DEVICE (badly named, from kernel.h). | |
| 711 | |
| 712 1998-09-01 Nick Garnett <nickg@cygnus.co.uk> | |
| 713 | |
| 714 * include/hal_intr.h: | |
| 715 Added CYG_EXCEPTION_COUNT. | |
| 716 | |
| 717 1998-08-28 Bart Veer <bartv@cygnus.co.uk> | |
| 718 | |
| 719 * src/vectors.S, src/context.S, src/hal_misc.c, src/mips-stub.c: | |
| 720 Updated for new kernel configuration option symbol names | |
| 721 | |
| 722 Fri Aug 28 10:01:24 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 723 | |
| 724 * src/hal_misc.c: | |
| 725 Rename __main() to cyg_hal_invoke_constructors() to prevent the | |
| 726 implied link with things called, or related to main(). Remove static | |
| 727 initialised variable as we can now guarantee it is only called | |
| 728 once. | |
| 729 | |
| 730 * src/vectors.S: | |
| 731 Instead of calling main(), call cyg_start() which lives in the infra | |
| 732 package. | |
| 733 Explicitly invoke constructors as it isn't done magically for us | |
| 734 any more, now that main() is no longer used. | |
| 735 | |
| 736 | |
| 737 1998-08-25 Nick Garnett <nickg@cygnus.co.uk> | |
| 738 | |
| 739 * src/vectors.S: | |
| 740 Now pass pointer to saved registers as third argument to | |
| 741 interrupt_end(). | |
| 742 | |
| 743 * include/hal_arch.h: | |
| 744 Added macros to support GDB. | |
| 745 | |
| 746 Tue Aug 25 02:33:59 1998 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
| 747 | |
| 748 * include/mips_stub.h, src/hal_misc.c: | |
| 749 Add void to prototypes and typedefs that want it to silence warnings | |
| 750 | |
| 751 1998-08-21 Nick Garnett <nickg@cygnus.co.uk> | |
| 752 | |
| 753 * include/hal_cache.h: | |
| 754 Now includes cyg_type.h rather than ktypes.h. | |
| 755 | |
| 756 1998-08-18 Nick Garnett <nickg@cygnus.co.uk> | |
| 757 | |
| 758 * src/context.S: | |
| 759 * include/hal_arch.h: | |
| 760 * include/hal_io.h: | |
| 761 * include/hal_intr.h: | |
| 762 Now uses cyg_type.h rather than ktypes.h. | |
| 763 | |
| 764 * src/hal_misc.c: | |
| 765 * src/vectors.S: | |
| 766 Now uses hal.h rather than kernel.h. | |
| 767 | |
| 768 1998-07-23 Nick Garnett <nickg@cygnus.co.uk> | |
| 769 | |
| 770 * include/hal_intr.h: Fixed some issues raised bt code review. | |
| 771 | |
| 772 * src/context.S: | |
| 773 * include/hal_arch.h: Fixed some typos raised by code review. | |
| 774 | |
| 775 * include/hal_intr.h (HAL_INTERRUPT_MASK): | |
| 776 * src/vectors.S (hal_interrupt_level): Added hal_interrupt_level | |
| 777 to allow for interaction between HAL_INTERRUPT_UNMASK() and | |
| 778 HAL_INTERRUPT_SET_LEVEL(). | |
| 779 | |
| 780 | |
| 781 //=========================================================================== | |
| 782 //####COPYRIGHTBEGIN#### | |
| 783 // | |
| 784 // ------------------------------------------- | |
| 785 // The contents of this file are subject to the Cygnus eCos Public License | |
| 786 // Version 1.0 (the "License"); you may not use this file except in | |
| 787 // compliance with the License. You may obtain a copy of the License at | |
| 788 // http://sourceware.cygnus.com/ecos | |
| 789 // | |
| 790 // Software distributed under the License is distributed on an "AS IS" | |
| 791 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 792 // License for the specific language governing rights and limitations under | |
| 793 // the License. | |
| 794 // | |
| 795 // The Original Code is eCos - Embedded Cygnus Operating System, released | |
| 796 // September 30, 1998. | |
| 797 // | |
| 798 // The Initial Developer of the Original Code is Cygnus. Portions created | |
| 2 | 799 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved. |
| 0 | 800 // ------------------------------------------- |
| 801 // | |
| 802 //####COPYRIGHTEND#### | |
| 803 //=========================================================================== |
