Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/dreamcast/dev/g2



Module Name:    src
Committed By:   tsutsui
Date:           Sun Mar  2 04:23:17 UTC 2003

Modified Files:
        src/sys/arch/dreamcast/dev/g2: g2bus_bus_mem.c

Log Message:
Cleanup G2_LOCK/G2_UNLOCK macros per discussion on port-dreamcast:
- Use _cpu_intr_suspend()/_cpu_intr_resume() in G2_LOCK/G2_UNLOCK macros
  rather than _cpu_exception_suspend()/_cpu_exception_resume().
  TLB miss exceptions could happen on accessing buffer, but it will never
  block G2bus cycle anyway.
- Restore the previous SR.IMASK value in G2_UNLOCK().
- some misc cosmetics.

Should fix spontaneous reboots by "ping -s 8192 host" on the LAN Adapter.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/sys/arch/dreamcast/dev/g2/g2bus_bus_mem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index