TempleOSCD_140715.ISO
This commit is contained in:
1 parent
7ef616a20e
commit
64f679eeb9
1095 files changed
+24814
-221011
No files matched your search
@@ -11,11 +11,10 @@ interrupt U0 BeepOff()
|
||||
}
|
||||
|
||||
U0 IntTest()
|
||||
{
|
||||
//Modify interrupt descriptor table
|
||||
//for CPU #1.
|
||||
{//Modify interrupt descriptor table use by all cores.
|
||||
IntEntrySet(I_USER,&BeepOn,IDTET_TRAP);
|
||||
IntEntrySet(I_USER+1,&BeepOff,IDTET_TRAP);
|
||||
//Issue interupt to core#1
|
||||
MPInt(I_USER,1);
|
||||
Sleep(1000);
|
||||
MPInt(I_USER+1,1);
|
||||
|
||||
Reference in new issue
Block a user