NT4/private/ntos/fw/mips/confsub.s
2020-09-30 17:12:29 +02:00

52 lines
647 B
ArmAsm
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
Copyright (c) 1992 Microsoft Corporation
Module Name:
conftest.s
Abstract:
This module contains configuration test subroutines.
Author:
David Robinson (davidro) 21-May-1992
--*/
//
// include header file
//
#include <ksmips.h>
/*++
Routine Description:
This routine reads the processor id register and returns the
value.
Arguments:
None.
Return Value:
None.
--*/
.text
.set noat
.set noreorder
LEAF_ENTRY(CtReadProcessorId)
mfc0 v0,prid // read the processor id
nop
j ra
nop
.end CtReadProcessorId