Commit Graph

644 Commits

Author SHA1 Message Date
Edward Amsden
1c80366066 virtualization: properly restore cold/warm states, cache, and scry stack when catching an error 2023-12-04 13:02:35 -06:00
barter-simsum
6a41cc156c pma: amend _bt_data_cow 2023-12-04 13:47:33 -05:00
barter-simsum
db5ee1e371 pma: fix ADDR2OFF and OFF2ADDR. amend all sites that improperly handle vaof_t
this should be closely inspected. additionally fixed _bt_data_cow implementation
and a few other misc things
2023-12-04 13:36:50 -05:00
barter-simsum
14f82b45a8 pma: bt_inbounds 2023-12-04 12:37:53 -05:00
barter-simsum
3c0d34dd11 pma: modifications to bt_dirty and _bt_data_cow 2023-12-02 08:02:14 -05:00
barter-simsum
d7ffdc47de pma: bt_dirty partial implm 2023-12-01 23:17:38 -05:00
barter-simsum
dc760add87 pma: amend bt_next_alloc impl 2023-12-01 16:37:18 -05:00
barter-simsum
2aae3d046b pma: implement bt_next_alloc 2023-12-01 16:30:14 -05:00
Alex Shelkovnykov
d4c5a4ff66 rust: fix linter errors 2023-12-01 17:32:13 -03:00
Alex Shelkovnykov
93af68268c rust: disable all printf statements which perform string interpolation 2023-12-01 16:44:44 -03:00
Alex Shelkovnykov
53f7f8f3dd jets: parse jets bug fixes + hot state 2023-12-01 10:29:02 -03:00
barter-simsum
debabd9ec4 pma: implement bt_range_of 2023-11-30 17:16:15 -05:00
barter-simsum
1f61db551b pma: fix external routine stubs. add comments to header 2023-11-30 11:37:09 -05:00
Alex Shelkovnykov
1e1dbae9fa Merge branch 'status' into parser 2023-11-30 11:26:45 -03:00
Edward Amsden
6944b9b295 pma: format lib.rs 2023-11-29 16:36:58 -06:00
Edward Amsden
093aff0356 pma: use cc crate in build.rs 2023-11-29 16:36:30 -06:00
Sigilante
aaa8b49d18 Fix +mask 2023-11-29 16:11:57 -06:00
Sigilante
4424fa607c +glue 2023-11-29 16:10:12 -06:00
Sigilante
2444495a62 Alphabetize. 2023-11-29 15:52:14 -06:00
Sigilante
2da9059308 Add comp 2023-11-29 15:48:14 -06:00
Sigilante
dff7da5fbd Post stag. 2023-11-29 15:41:26 -06:00
Sigilante
b6345c68ef Post pfix/sfix 2023-11-29 15:28:12 -06:00
Sigilante
f70db62b2c Post slam and other stuff. 2023-11-29 14:45:13 -06:00
Sigilante
7be2d2b8ba Add utility fns for parser jets. 2023-11-29 13:33:31 -06:00
barter-simsum
f7ffa0de97 pma: add additional interface stubs. implement later 2023-11-29 14:05:22 -05:00
barter-simsum
96b31ffe7f pma: move BT_meta.chk to end of struct. hardcode 32 roots 2023-11-29 13:03:57 -05:00
barter-simsum
857c0051d9 pma: don't include stdlib.h in btree.h 2023-11-29 12:52:42 -05:00
barter-simsum
13963724a1 pma: declare BT_state in btree.h 2023-11-29 12:46:46 -05:00
Edward Amsden
187b283308 pma: fix wrapper.h 2023-11-29 11:43:15 -06:00
Edward Amsden
accf255b1a pma: wip: forgot checksum.h 2023-11-29 11:41:31 -06:00
Edward Amsden
add377b007 pma: export bindgen bindings from lib 2023-11-29 10:36:19 -06:00
Edward Amsden
41253e9848 pma: wip: copy in PMA source and create bindgen crate 2023-11-29 10:15:46 -06:00
Alex Shelkovnykov
408a405d6b
Merge pull request #142 from urbit/as/slot
nock: fix slot access bug
2023-11-28 20:17:26 -06:00
Alex Shelkovnykov
4e2d9501a9
Merge branch 'status' into as/mook 2023-11-28 15:43:36 -06:00
Alex Shelkovnykov
6ef60d8209 nock: fix slot access bug 2023-11-28 18:38:16 -03:00
Alex Shelkovnykov
3f46b641ff Merge branch 'status' into traces 2023-11-28 14:03:36 -03:00
Edward Amsden
4e2381dc3b 2stackz: add function to wrap a closure in frame push and pop 2023-11-28 10:59:30 -06:00
Alex Shelkovnykov
d1b05d7333 jets: simplify +mook using destination passing pattern 2023-11-28 12:49:24 -03:00
Alex Shelkovnykov
0c6b56949f meta: reorganize test resources in repo 2023-11-28 12:00:03 -03:00
Alex Shelkovnykov
3b643ab873 jets: fix mismatch between Arvo and Ares for +mook 2023-11-28 09:11:52 -03:00
Alex Shelkovnykov
533503e2e4 build: restore removed build packages 2023-11-27 20:06:59 -03:00
Alex Shelkovnykov
cc7821dc41 build, docs: restyle flake and add commands to docs 2023-11-27 19:43:03 -03:00
Edward Amsden
5dba12a8d6 build: make tests pass by removing pma tests, in anticipation of new PMA 2023-11-27 13:02:58 -06:00
Alex Shelkovnykov
911dc7f850 jets: final touch ups 2023-11-25 11:53:27 -03:00
Alex Shelkovnykov
b3b493303a jets: use NockStack for allocation in AES jets 2023-11-25 09:51:05 -03:00
Alex Shelkovnykov
a5e9fc9682 jets: review feedback 2023-11-25 01:14:48 -03:00
Alex Shelkovnykov
7bd763f162 Merge branch 'puck' into urcrypt 2023-11-24 23:05:52 -03:00
Alex Shelkovnykov
8709b2de32 build: port Matt's changes to main branch 2023-11-24 23:05:29 -03:00
Alex Shelkovnykov
591932e855 debug: fix inverted boolean logic 2023-11-24 11:01:58 -03:00
Alex Shelkovnykov
73e7997a32 test: add a TODO for expanding the test suite 2023-11-24 10:58:48 -03:00
Alex Shelkovnykov
9013fb8dda debug: refactor assert_normalized location 2023-11-24 10:46:47 -03:00
Matthew LeVan
284fbc6e44 address @ashelkovnykov's comments, pt. 2 2023-11-22 13:52:30 -05:00
Matthew LeVan
479f311123 address @ashelkovnykov's comments, pt. 1 2023-11-22 13:27:44 -05:00
Alex Shelkovnykov
de4224b2a2 Merge branch 'urcrypt' into puck 2023-11-22 13:52:27 -03:00
Alex Shelkovnykov
1c2c5d3def TEMP 2023-11-22 13:51:04 -03:00
Alex Shelkovnykov
51aa99754c Merge branch 'urcrypt' into puck 2023-11-22 05:25:23 -03:00
Alex Shelkovnykov
03fba05c46 jets: add AES jets to hot state and sham dashboard 2023-11-22 05:20:54 -03:00
Alex Shelkovnykov
090f91579d jets: re-order lock jets to match Hoon 2023-11-22 05:19:14 -03:00
Sigilante
cbb817ccb8 Remove comment. 2023-11-21 13:54:01 -06:00
Matthew LeVan
c0476c9e09 Merge branch 'eamsden/build-urcrypt' into eamsden/fix_puck 2023-11-20 15:21:51 -05:00
Matthew LeVan
da6e8b2522 cleanup 2023-11-20 15:06:14 -05:00
Matthew LeVan
bdc9224995 Merge branch 'status' into msl/parse-jets 2023-11-20 14:59:19 -05:00
Matthew LeVan
acb598570e clip man 2023-11-20 12:31:01 -05:00
Matthew LeVan
e12f21d8de placate clippy 2023-11-20 12:29:39 -05:00
Matthew LeVan
2643e984aa placate clippy 2023-11-20 12:22:41 -05:00
Matthew LeVan
ca71cdabcf use context struct 2023-11-20 12:12:21 -05:00
Matthew LeVan
394883bd03 add &mut to c.stack in new_raw_bytes calls 2023-11-20 11:57:57 -05:00
Edward Amsden
b38a5d45af
Merge pull request #129 from urbit/as/jets
jets: remove unnecessary jet check on Nock 2
2023-11-20 10:15:56 -06:00
Edward Amsden
2b919b67ea
Merge pull request #128 from urbit/as/arvo
serf: fix bug that would abandon arvo state
2023-11-20 10:15:42 -06:00
Matthew LeVan
9a82fde3fc build: add autoconf-archive 2023-11-20 10:58:12 -05:00
Matthew LeVan
ce85495bcc build: add autoconf-archive 2023-11-20 10:57:47 -05:00
Matthew LeVan
37022248f7 cargo fmt 2023-11-20 10:54:44 -05:00
Matthew LeVan
da40dcda44 cargo fmt 2023-11-20 10:53:45 -05:00
Alex Shelkovnykov
0daca39b1d Merge branch 'urcrypt' into puck 2023-11-20 00:41:06 -05:00
Alex Shelkovnykov
b1b46f908c Merge branch 'profile' into urcrypt 2023-11-20 00:32:41 -05:00
Alex Shelkovnykov
ff3a6ebc0d jets: remove unnecessary jet check on Nock 2
Nock 2 only comes from Hoon via .*, so we can assume it's never directly
used to invoke jetted code.
2023-11-20 00:28:11 -05:00
Alex Shelkovnykov
363b4bce14 serf: fix bug that would abandon arvo state 2023-11-20 00:28:04 -05:00
Alex Shelkovnykov
5516fcf854 Merge branch 'status' into profile 2023-11-20 00:27:41 -05:00
Alex Shelkovnykov
7267fcfe32 trace: remove fake thread distinction 2023-11-20 00:25:02 -05:00
Alex Shelkovnykov
9fb2b1f510 trace: simplify code to disable tracing on failure 2023-11-19 15:22:56 -05:00
Alex Shelkovnykov
8968ed4597 trace: replace duration events with completion events 2023-11-19 15:03:18 -05:00
Alex Shelkovnykov
c40896c429 trace: add serf event tracing for initial boot 2023-11-19 14:51:57 -05:00
Alex Shelkovnykov
60aaa45443 trace: add serf event tracing for peek writs 2023-11-19 14:34:37 -05:00
Alex Shelkovnykov
eef367bb63 trace: add serf event tracing for play writs 2023-11-19 14:34:20 -05:00
Alex Shelkovnykov
6e58c32824 trace: add serf event tracing for work writs 2023-11-18 00:18:41 +01:00
Sigilante
15a8745097
Swap high.low bytes in pair 2023-11-17 10:46:58 -06:00
Sigilante
379bd2279a
Mark manually-checked pair as safe. 2023-11-17 10:40:41 -06:00
Alex Shelkovnykov
d67dad2a0b trace: fix invalid event names 2023-11-17 13:37:24 +01:00
Alex Shelkovnykov
f5889bba17 trace: add profile trace to DONE block
It's possible for a tail-recursive 9 to never hit the RET block.
2023-11-17 12:41:34 +01:00
Alex Shelkovnykov
9573584979 trace: disable tracing on failed write to file 2023-11-17 12:28:28 +01:00
Alex Shelkovnykov
e1c5d158e6 trace: move trace code to its own file 2023-11-17 00:03:35 +01:00
Alex Shelkovnykov
3c72f0244e trace: fix linter warnings 2023-11-16 22:18:56 +01:00
Alex Shelkovnykov
33186d5789 Merge branch 'status' into profile 2023-11-16 12:22:11 +01:00
Sigilante
0cb6cb3063
Switch to doc comment format. 2023-11-15 16:30:19 -06:00
Sigilante
a2749a71cb
Rename u128_pair to u64_pair and clarify SoftFloat intent 2023-11-15 16:12:26 -06:00
Sigilante
e204285ab3 WIP include jet_last 2023-11-15 16:02:28 -06:00
Sigilante
7bd1adcc5c WIP clarify direct atoms in last() 2023-11-15 15:54:33 -06:00
Sigilante
5f9adde330 WIP on last/u64 export 2023-11-15 15:52:03 -06:00
Sigilante
44ba80cd33
Fix minor unsafe blocks 2023-11-15 15:44:20 -06:00
Sigilante
1ae6303cbf
Move u64/u128 to IndirectAtom as well 2023-11-15 15:41:22 -06:00
Sigilante
7debba4ad7
Satisfy linter 2023-11-15 15:37:33 -06:00
Sigilante
1f0fec0f93
Satisfy linter 2023-11-15 15:36:12 -06:00
Sigilante
804ac35870
Add u64/u128 atom exports
Necessary for floating-point; nice for conversions from direct atoms.
2023-11-15 15:29:02 -06:00
Alex Shelkovnykov
c7090fb62c style: fix whitespace 2023-11-15 13:31:49 +01:00
Alex Shelkovnykov
85539466c4
Merge branch 'status' into as/demo-debug 2023-11-15 06:27:46 -06:00
Edward Amsden
af7398133a
jet_crop: fix doubled assignment to cache 2023-11-15 06:23:24 -06:00
Alex Shelkovnykov
c214118c2d jets: fix cache assignment bug 2023-11-15 13:15:40 +01:00
Alex Shelkovnykov
3e6dcd947c build: re-enable assert_no_alloc 2023-11-15 13:13:59 +01:00
Alex Shelkovnykov
bfac32214c jets: restore default interpreter::Error -> JetErr conversion 2023-11-15 13:10:15 +01:00
Alex Shelkovnykov
98c8e18230 update for proper merges to status 2023-11-15 13:03:04 +01:00
Alex Shelkovnykov
0b97e55fc4 Merge branch 'status' into ut1 2023-11-15 00:12:17 +01:00
Matthew LeVan
092f12525a wip: st. josaphat 2023-11-14 16:43:56 -05:00
Matthew LeVan
c2aec6af65 jets: fix crypto jet tests 2023-11-14 15:59:08 -05:00
Edward Amsden
a43a12b9f3 warm: return %fast-path with jet 2023-11-13 23:03:40 -06:00
Edward Amsden
ac86b4455c jets: fix puck: atom should be up to 32 *bytes*, not bits 2023-11-13 23:03:13 -06:00
Edward Amsden
0f24273e91 urcrypt: pull urcrypt-sys from crates.io 2023-11-10 08:57:44 -06:00
Edward Amsden
e4ab772998 jets: fix urcrypt jets to build with current interpreter, add sha and ed to hot state 2023-11-09 22:46:22 -06:00
Edward Amsden
dc07e21f18 Merge branch 'msl/urcrypt' into eamsden/build-urcrypt 2023-11-09 19:18:16 -06:00
Edward Amsden
45e9ab00bd dependencies: add json for trace output 2023-11-09 19:13:12 -06:00
Edward Amsden
749444374d interpreter: don't output traces < 33us 2023-11-09 19:12:49 -06:00
Edward Amsden
63d91d3cd5 serf: add event-trace profiling (-j in king) for fast-hinted cores 2023-11-09 15:02:51 -06:00
Edward Amsden
3bb124b52a cold state: fix matches() 2023-11-07 09:53:53 -06:00
Edward Amsden
23cef0bf40
Merge pull request #115 from urbit/sigilante/swp-xeb
++xeb, ++flop
2023-11-07 09:36:22 -06:00
Edward Amsden
7e42b2b950
Merge pull request #116 from urbit/sigilante/cuejam
Post jam/cue jets.
2023-11-07 09:36:00 -06:00
Alex Shelkovnykov
84f9cf9b13 Fix cache assignment bug 2023-10-30 12:57:15 +00:00
Alex Shelkovnykov
94246f1b7e Fix bugs in hint error logic 2023-10-30 12:39:28 +00:00
Edward Amsden
718f1a5cee Merge branch 'status' into msl/urcrypt 2023-10-28 06:18:25 -05:00
Alex Shelkovnykov
b47bef9793 Change magic u3_none equivalent to valid DirectAtom 2023-10-27 21:06:26 +01:00
Edward Amsden
a011db78e6 hot state: allow indirect atom chums 2023-10-27 15:04:20 -05:00
Alex Shelkovnykov
65eff9f9d6 Fix build errors 2023-10-27 20:36:09 +01:00
Alex Shelkovnykov
e1c878af30 Add hot state dashboard 2023-10-27 20:32:11 +01:00
Edward Amsden
46275f5183
noun: lost paren 2023-10-27 14:04:56 -05:00
Edward Amsden
7362374579
noun: We need a hack value for NONE until we figure out what to do about mint_ut 2023-10-27 14:02:36 -05:00
Alex Shelkovnykov
c725f28466 Resolve merge conflicts 2023-10-27 19:44:29 +01:00
Alex Shelkovnykov
94eaa1115a Merge branch 'zing' into fake 2023-10-27 19:37:57 +01:00
Alex Shelkovnykov
3f0ea82ed8 Resolve merge conflicts 2023-10-27 19:28:14 +01:00
Alex Shelkovnykov
59db570ce6 Merge branch 'xeb' into fake 2023-10-27 18:59:41 +01:00
Alex Shelkovnykov
908a6a6c76 Merge branch 'ut1' into fake 2023-10-27 18:53:14 +01:00
Alex Shelkovnykov
068eea3114 Merge branch 'mole' into fake 2023-10-27 18:52:49 +01:00
Alex Shelkovnykov
c42b26c4c9 merge branch 'jets-one' into fake 2023-10-27 18:52:36 +01:00
Alex Shelkovnykov
5aed65c969 Minor fixes 2023-10-27 13:08:48 +01:00
Alex Shelkovnykov
46918bcbf9 Fix bug and call +zing on stack trace 2023-10-27 09:19:27 +01:00
Alex Shelkovnykov
463cd31eaf Add +zing jet 2023-10-27 09:07:46 +01:00
Alex Shelkovnykov
0b554c948b Add jets for +mute & +mule 2023-10-27 07:47:09 +01:00
Alex Shelkovnykov
7ed97d502b Add jets for +mure & +mole 2023-10-27 07:12:59 +01:00
Alex Shelkovnykov
9499b00590 Fixup comment explaining scry failure behaviour 2023-10-27 06:25:08 +01:00
Alex Shelkovnykov
096208a612 Reorder jets 2023-10-27 06:11:19 +01:00
Alex Shelkovnykov
e76f700785 Fixup mismatches and make idiomatic 2023-10-27 01:03:07 -04:00
Alex Shelkovnykov
8a760d3b6e Merge branch 'mink-scry' into ut1 2023-10-25 06:06:10 -06:00
Alex Shelkovnykov
25a7b09ddd Undo Cargo changes 2023-10-24 20:18:59 -06:00