switch the fatal error path to put_string
[nyanvsnprintf.git] / linux / arch / x64 / vsnprintf / directives_execution_defs.S
blob782f6bb8c66457e823cf95f9455d595a52e06060
1 #define ST_DIRECTIVES_EXECUTION_STATE           r14
2 #define   DX_CONV_DIRECTIVES_N                  qword ptr [ST_DIRECTIVES_EXECUTION_STATE+0]
3 #define   DX_CONV_DIRECTIVE                     qword ptr [ST_DIRECTIVES_EXECUTION_STATE+8]
4 // Even with an empty user buffer, we need to account for the conversion bytes:
5 #define   DX_S_BYTES_N                          qword ptr [ST_DIRECTIVES_EXECUTION_STATE+16]
6 // How many bytes still available in the user buffer:
7 #define   DX_REMAINING_N_BYTES_N                qword ptr [ST_DIRECTIVES_EXECUTION_STATE+24]
8 // Current location in the user buffer:
9 #define   DX_S                                  qword ptr [ST_DIRECTIVES_EXECUTION_STATE+32]
10 // In the format string, locations of the current and next directive:
11 #define   DX_FORMAT_CURRENT_DIRECTIVE_START     qword ptr [ST_DIRECTIVES_EXECUTION_STATE+40]
12 #define   DX_FORMAT_NEXT_DIRECTIVE_START        qword ptr [ST_DIRECTIVES_EXECUTION_STATE+48] // Can be format end.
13 #define ST_DIRECTIVES_EXECUTION_STATE_QWORDS_N  7