xenia/src/Xenia.Debug/Thread.cs

46 lines
904 B
C#
Raw Normal View History

2015-05-22 23:58:56 +02:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xenia.Debug.Utilities;
namespace Xenia.Debug {
public class ThreadContext {
2015-05-24 22:43:15 +02:00
// Maps to ppc_context.h:
// r[32]
// f[32]
// v[128]
// lr
// ctr
// xer
// crN?
// fpscr
2015-05-22 23:58:56 +02:00
}
2015-05-24 22:43:15 +02:00
public class Thread : KernelObject {
// xobject: handle
// module?
// pcr address
// thread state address
// tls address
// stack address, size
// thread id
// name
// IsAlive
// priority
// affinity
// state: running, suspended, waiting
// creation params:
// stack size
// xapi thread startup fn
// start address fn
// start context
// creation flags
// callstack at creation
public Thread(Debugger debugger, uint threadHandle) : base(debugger, threadHandle) {
}
2015-05-22 23:58:56 +02:00
}
}