Captain Bob ruled "As v3: add at call", "Engine: call redirects" and "Build it". - The engine's call hook returns where P goes. - The kernel checks every call from code defined at run time. A TTL is counted down at the call. At a TTL of 0, or a denied word, the call is sent to (ACL-CALL), with the target on the data stack, which rechecks or refuses it by the word's own name, then goes on to it. - A word being compiled is no longer checked, as in v3. Two things were added while building, both from v3: - (ACL-BUSY) turns the check off while the policy rechecks. Without it the recheck recursed. - (ACL-CALL) does its own refusal and leaves WORD's buffer alone. A first version broke POST's CONVERT.digits. Test first: test_mesh_boot's five new checks failed before; now 120 pass and POST is 990/990. test_exec tests the redirect. test_host_quit's two v4-only expectations now follow v3: a denied word compiles. All 52 tests, test-32 and ASan/UBSan pass. An amd64 session passes 18/18. Five alternating host boots: +1.4% median, inside the noise. DECOMPOSITION.md 5.20 is updated, and the FPGA's call opcode is recorded as owing the same redirect. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
136 lines
3.2 KiB
Plaintext
136 lines
3.2 KiB
Plaintext
\ map-64.f18 -- the memory map the system's source is assembled with, 64-bit cells.
|
|
\ Generated by v4/tools/mkmap.c (mkmap sys) from v4/tests/host_map.h -- do not edit.
|
|
constant N-1 63
|
|
constant NODE-ERROR 32766
|
|
constant CONSOLE-TX 32764
|
|
constant CONSOLE-RX 32762
|
|
constant CONSOLE-STATUS 32761
|
|
constant BASE 32760
|
|
constant TIB 129312
|
|
constant >IN 32759
|
|
constant SPAN 32758
|
|
constant WBUF 130392
|
|
constant (P) 32744
|
|
constant DP 32757
|
|
constant (LATEST) 32756
|
|
constant DBASE 32768
|
|
constant DLIMIT 116864
|
|
constant PAD 129192
|
|
constant (D) 32736
|
|
constant (CG) 32720
|
|
constant CG-BSLOTS 3
|
|
constant STATE 32755
|
|
constant (C) 32706
|
|
constant (CFP) 32754
|
|
constant (Q) 30065
|
|
constant (F) 32663
|
|
constant (S) 31204
|
|
constant (W) 32669
|
|
constant (X) 31184
|
|
constant (HOT) 31149
|
|
constant (BOOT) 31107
|
|
constant (NEXT-ID) 31103
|
|
constant (TOKENS) 31105
|
|
constant (BOOT-ID) 31104
|
|
constant (LOG-LEVEL) 30064
|
|
constant (ACL-HOOK) 30063
|
|
constant SCR 31099
|
|
constant BLK 31100
|
|
constant (SRC) 31101
|
|
constant (#SRC) 31098
|
|
constant (SRC-HOOK) 31102
|
|
constant (LINE-STATUS) 30060
|
|
constant (PORT) 29929
|
|
constant (ME) 30056
|
|
constant (CONSOLE) 30053
|
|
constant (ROUTE#) 30052
|
|
constant (ROUTE-DEFAULT) 30051
|
|
constant (LOST) 30050
|
|
constant (PRINT-TO) 30049
|
|
constant (PRINT-PORT) 30036
|
|
constant (DONE-PORT) 30035
|
|
constant (ROUTES) 29973
|
|
constant -PORTS -8
|
|
constant (NEAR) 30005
|
|
constant (AWAIT-FROM) 30030
|
|
constant (WIRE) 29941
|
|
constant (WIRE-A) 29942
|
|
constant (WIRE-B) 29943
|
|
constant (WIRE-DO) 29944
|
|
constant (WIRE-HOW) 29945
|
|
constant (WIRE-HAVE) 29946
|
|
constant (S-HAVE) 30034
|
|
constant (S-MASK) 30033
|
|
constant (S-WIRE) 30032
|
|
constant (S-ON) 30031
|
|
constant (KEEP) 30029
|
|
constant (DEFER) 30028
|
|
constant (D-MASK) 30061
|
|
constant (IN) 30013
|
|
constant (ONE) 30020
|
|
constant (OUT-HDR) 29957
|
|
constant (W-NEED) 29964
|
|
constant (W-PORT) 29965
|
|
constant (P-WAY) 29966
|
|
constant (P-NEED) 29969
|
|
constant (H-PORT) 29970
|
|
constant (H-NEED) 29971
|
|
constant (H-MASK) 29972
|
|
constant (A-SELF) 29967
|
|
constant (SEND^) 29968
|
|
constant (OUT-TEXT) 29605
|
|
constant (SEND-TEXT) 29269
|
|
constant (QUIET) 30059
|
|
constant (REFUSED) 30062
|
|
constant (OUT^) 30055
|
|
constant (REPLY) 30054
|
|
constant (MSG) 30021
|
|
constant (OUT) 29669
|
|
constant (WORD-DEFINED) 30058
|
|
constant (WORD-FORGOTTEN) 30057
|
|
constant BLOCK# -1
|
|
constant BUFFER# -2
|
|
constant UPDATE# -3
|
|
constant SAVE-BUFFERS# -4
|
|
constant EMPTY-BUFFERS# -5
|
|
constant (Q/) 31109
|
|
constant (QE) 31114
|
|
constant (QR) 31122
|
|
constant (QL) 31127
|
|
constant (QT) 31134
|
|
constant (QP) 31140
|
|
constant (DP) 31144
|
|
constant ADDR-DIGITS 16
|
|
constant MSB -9223372036854775808
|
|
constant MAXHI 9223372036854775807
|
|
constant HIMASK 281474976710655
|
|
constant 2N+15 143
|
|
constant N-18 46
|
|
constant N-17 47
|
|
constant MAX-INT 9223372036854775807
|
|
constant HLD 32743
|
|
constant (FENCE) 32742
|
|
constant CONTEXT 32704
|
|
constant CURRENT 32705
|
|
constant VOC-LINK 32718
|
|
constant HEND 124816
|
|
constant -HFLOOR -124754
|
|
constant DSTACK-DEPTH 32753
|
|
constant RSTACK-DEPTH 32752
|
|
constant HEAT-OP 29216
|
|
constant (EXEC) 30047
|
|
constant (RUNX) 29954
|
|
constant (ACL-CALLX) 29956
|
|
constant (ACL-BUSY) 29925
|
|
constant ANTICLOCK 29248
|
|
constant CFBASE 32672
|
|
constant CFEND 32704
|
|
constant ROM-UM* 32768
|
|
constant ROM-UM/MOD 32769
|
|
constant ROM-D+ 32770
|
|
constant ROM-DNEGATE 32771
|
|
constant ROM-Q.* 32772
|
|
constant ROM-Q./ 32773
|
|
constant DICT-W 8192
|
|
constant (IMG) 29950
|