Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPARC locore problems #8

Closed
abusalimov opened this issue Mar 16, 2010 · 4 comments
Closed

SPARC locore problems #8

abusalimov opened this issue Mar 16, 2010 · 4 comments

Comments

@abusalimov
Copy link
Member

Код из основной ветки sparc (бывшая sparc-experimental) работает с ошибками.
Что-то не так с вложенными прерываниями.

@abusalimov
Copy link
Member Author

Пока что переключаемся на код из старой ветки

Added arch:sparc label
Closed with status Fixed

@abusalimov
Copy link
Member Author

Удалось воспроизвести на симуляторе

Reopened, status set to Started

@abusalimov
Copy link
Member Author

Картинка, иллюстрирующая операции с окнами при выполнении теста irq_nesting:

           | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
126456315  |   |   |   |   | x |   |  <--  |  0000f6ac  9de3bf98  save %sp, -104, %sp
126456635  |   |   |   |   | x |   |  -->  |  00001018  9de3bf98  save %sp, -104, %sp
126457489  ->  |   |   |   | x |   |   |  ->  0000aaf4  9de3bf98  save %sp, -104, %sp
126457764  <-  |   |   |   | x |   |   |  <-  0000ab84  81e80000  restore
126457916  |   |   |   |   | x |   |  <--  |  00001110  81e80000  restore
126458138  |   |   |   |   | x |   |  -->  |  00001018  9de3bf98  save %sp, -104, %sp
126458206  ->  |   |   |   | x |   |   |  ->  0000aaf4  9de3bf98  save %sp, -104, %sp
126458235  <-  |   |   |   | x |   |   |  <-  0000ab84  81e80000  restore
126458247  |   |   |   |   | x |   |  <--  |  00001110  81e80000  restore
126458361  |   |   |   |   | x |   |  -->  |  0000acb0  9de3bf98  save %sp, -104, %sp
        0  ->  |   |   |   | x |   |   |  ->   <trap>    tt 0x1a  <int 10>
126458732  |  -->  |   |   | x |   |   |   |  00001234  9de3bf98  save %sp, -104, %sp
126459252  |   |  -->  |   | x |   |   |   |  0000f628  9de3bf98  save %sp, -104, %sp
126459410  |   |   |  -->  | x |   |   |   |  0000acb0  9de3bf98  save %sp, -104, %sp
        0  |   |   |   |  -->x |   |   |   |   <trap>    tt 0x1b  <int 11>
126459578  |   |   |   |   | x-->  |   |   |  0000b378  83e04003  save %g1, %g3, %g1
126459579  |   |   |   |   |   | x |   |   |  0000b37c  81904000  mov %g1, %wim
126459612  |   |   |   |   |  <--x |   |   |  0000b3a0  81e80000  restore
        0  |   |   |   |   |  -->x |   |   |   <trap>    tt 0x05  <wof>
126459726  |   |   |   |   |   | x-->  |   |  0000b494  83e04015  save %g1, %l5, %g1
126459727  |   |   |   |   |   |   | x |   |  0000b498  81904000  mov %g1, %wim
126459760  |   |   |   |   |   |  <--x |   |  0000b4bc  81e80000  restore
126459769  |   |   |   |   |  <--  | x |   |  0000b4d8  81cc8000  rett %l2
126459771  |   |   |   |   |  -->  | x |   |  00001234  9de3bf98  save %sp, -104, %sp
        0  |   |   |   |   |   |  -->x |   |   <trap>    tt 0x05  <wof>
126459937  |   |   |   |   |   |   | x-->  |  0000b494  83e04015  save %g1, %l5, %g1
126459938  |   |   |   |   |   |   |   | x |  0000b498  81904000  mov %g1, %wim
126459971  |   |   |   |   |   |   |  <--x |  0000b4bc  81e80000  restore
126459980  |   |   |   |   |   |  <--  | x |  0000b4d8  81cc8000  rett %l2
126459982  |   |   |   |   |   |  -->  | x |  0000f628  9de3bf98  save %sp, -104, %sp
126460288  |   |   |   |   |   |  <--  | x |  0000f6a8  91e82001  restore 1, %o0
126460307  |   |   |   |   |   |  -->  | x |  000011c8  9de3bf98  save %sp, -104, %sp
126460338  |   |   |   |   |   |  <--  | x |  00001230  81e80000  restore
126460343  |   |   |   |   |  <--  |   | x |  000012f4  81e80000  restore
126460650  |   |   |   |  <--  |   |   | x |  0000b17c  81cc8000  rett %l2
126460655  |   |   |  <--  |   |   |   | x |  0000ad40  81e80000  restore
126460812  |   |  <--  |   |   |   |   | x |  0000f6a8  91e82001  restore 1, %o0
126460828  |   |  -->  |   |   |   |   | x |  000011c8  9de3bf98  save %sp, -104, %sp
126460857  |   |   |  -->  |   |   |   | x |  00001564  9de3bf98  save %sp, -104, %sp
126460870  |   |   |  <--  |   |   |   | x |  0000158c  81e80000  restore
126460875  |   |  <--  |   |   |   |   | x |  00001230  81e80000  restore
126460880  |  <--  |   |   |   |   |   | x |  000012f4  81e80000  restore
126460976  |   |   |   |   |   |   |   |   |  0000b188  81904002  wr %g1, %g2, %wim
126461205  <-  |   |   |   |   |   |   |  <-  0000b1b4  81e80000  restore
126461362  ->  |   |   |   |   |   |   |  ->  0000b1d8  81e00000  save
126461366  <-  |   |   |   |   |   |   |  <-  0000b1e0  81cc8000  rett %l2
126461441  |   |   |   |   |   |   |  <--  |  0000ad40  81e80000  restore
126462414  |   |   |   |   |   |  <--  |   |  0000f798  81e80000  restore
126462419  |   |   |   |   |  <--  |   |   |  000012f4  81e80000  restore
126462674  |   |   | x |   |   |   |   |   |  0000b188  81904002  wr %g1, %g2, %wim
126462693  |   |   | x |  <--  |   |   |   |  0000b1b4  81e80000  restore
126462722  |   |   | x |  -->  |   |   |   |  0000b1d8  81e00000  save
126462726  |   |   | x |  <--  |   |   |   |  0000b1e0  81cc8000  rett %l2
        0  |   |   | x |  -->  |   |   |   |   <trap>    tt 0x06  <wuf>
126462870  |   | x |   |   |   |   |   |   |  0000b24c  81958015  wr %l6, %l5, %wim
126463022  |   | x |   |  <--  |   |   |   |  0000b274  81e80000  restore
126463023  |   | x |  <--  |   |   |   |   |  0000b278  81e80000  restore
126463484  |   | x |  -->  |   |   |   |   |  0000b29c  81e00000  save
126463485  |   | x |   |  -->  |   |   |   |  0000b2a0  81e00000  save
126463559  |   | x |   |  <--  |   |   |   |  0000b2a8  81cc8000  rett %l2
126463561  |   | x |  <--  |   |   |   |   |  0000ad40  81e80000  restore
        0  |   | x |  -->  |   |   |   |   |   <trap>    tt 0x09

В момент 126460976 ксорились одинаковые значения, и в WIM попадал 0.

@abusalimov
Copy link
Member Author

Closed in e2829ef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant