NetBSD/sys/arch/dreamcast/dev
tsutsui 9c5dcb82ac 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.
2003-03-02 04:23:16 +00:00
..
g2 Cleanup G2_LOCK/G2_UNLOCK macros per discussion on port-dreamcast: 2003-03-02 04:23:16 +00:00
maple constify command buffer 2003-02-15 02:36:52 +00:00
gdrom.c
pvr.c
pvrvar.h