xenia/src/Xenia.Debug/Thread.cs

55 lines
1.4 KiB
C#
Raw Normal View History

2015-06-11 06:19:17 +02:00
/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2015 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
using System;
2015-05-22 23:58:56 +02:00
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
}
}