Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/libc/power/tas.s

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


TEXT	_tas(SB), 1, $-4
	MOVW	R3, R4
	MOVW	$0xdeaddead,R5
tas1:
/*	DCBF	(R4)			 	fix for 603x bug */
	SYNC
	LWAR	(R4), R3
	CMP	R3, $0
	BNE	tas0
	DCBT	(R4)				/* fix 405 errata cpu_210 */
	STWCCC	R5, (R4)
	BNE	tas1
tas0:
	RETURN

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].