2026-03-13 10:51:31 -04:00
|
|
|
namespace SabreTools.Data.Models.XboxExecutable
|
2026-03-13 10:28:05 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
2026-03-13 10:51:31 -04:00
|
|
|
/// XBox Executable thread-local storage
|
2026-03-13 10:28:05 -04:00
|
|
|
/// </summary>
|
|
|
|
|
/// <see href="https://www.caustik.com/cxbx/download/xbe.htm"/>
|
2026-03-13 12:31:33 -04:00
|
|
|
/// <see href="https://github.com/Cxbx-Reloaded/Cxbx-Reloaded/blob/master/src/common/xbe/Xbe.h"/>
|
2026-03-13 10:51:31 -04:00
|
|
|
public class ThreadLocalStorage
|
2026-03-13 10:28:05 -04:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Address, after the .XBE is loaded into memory, of this .XBE's TLS Data.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint DataStartAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Address, after the .XBE is loaded into memory, of the end of this XBE's TLS Data.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint DataEndAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Address, after the .XBE is loaded into memory, of this XBE's TLS Index.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint TLSIndexAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Address, after the .XBE is loaded into memory, of this XBE's TLS Callback.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint TLSCallbackAddress { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Size of Zero Fill
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint SizeOfZeroFill { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Various TLS characteristics.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint Characteristics { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|