summaryrefslogtreecommitdiff
path: root/src/arch/i386/lib/noop_failover.inc
blob: 70c10b0d3e762d3abb9e8ea1e5b280e099966098 (plain)
1
2
3
4
5
6
7
8
9
/* Step 1:  Test for cpu reset
 *     That is, did I just boot or is this a later boot since power on.
 *     The result of this test in %al
 *     %al == 1 -- We are rebooting
 *     %al == 0 -- This is the initial boot
 *
 */
	testb	%al, %al
	jnz	__cpu_reset