175 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
20 lines
935 B
C
20 lines
935 B
C
#pragma once
|
|
#include <stdint.h>
|
|
struct gw_channel_policy_control {
|
|
uint32_t abi,size;
|
|
volatile int32_t command,enabled,error,thread;
|
|
volatile uint32_t polls,drained,bytes,last_requested;
|
|
uint64_t owner;
|
|
};
|
|
_Static_assert(sizeof(struct gw_channel_policy_control)==48,"Channel policy ABI changed");
|
|
/* Publish only from a genuine authenticated source world-completion path.
|
|
* The original main-thread poll owns suspension and readiness revalidation. */
|
|
void __attribute__((ms_abi)) gw_wire_channel_world_left(void* owner);
|
|
|
|
/* Diagnostic statuses:1 unmapped/uncommitted,2 guard/noaccess,4 non-executable,
|
|
*8 signature mismatch,16 span overflow. Never used to relax a call gate. */
|
|
struct gw_channel_contract_status {
|
|
uint32_t abi,size,samples,failures,send_status,store_status,release_status,protection_deferrals;
|
|
};
|
|
_Static_assert(sizeof(struct gw_channel_contract_status)==32,"Contract diagnostic ABI changed");
|