[decompile] bsp-h (#562)

* decompile bsp-h

* a few more

* some more

* fix merge conflicts
This commit is contained in:
water111
2021-06-07 18:30:16 -04:00
committed by GitHub
parent e0a15d5990
commit f516737cf7
45 changed files with 5649 additions and 1016 deletions
+9 -12
View File
@@ -68,25 +68,22 @@
;; failed to figure out what this is:
(set! (-> perf-stat-array heap-base) (the-as uint 52))
;; definition for method 11 of type perf-stat
;; ERROR: function was not converted to expressions. Cannot decompile.
(defmethod PERF-COUNTER-REG-ACCESS-11 perf-stat ((obj perf-stat))
"Perfomance counters are not implemented, so this does nothing."
(none)
)
;; definition for method 12 of type perf-stat
;; ERROR: function was not converted to expressions. Cannot decompile.
(defmethod PERF-COUNTER-REG-ACCESS-12 perf-stat ((obj perf-stat))
"Perfomance counters are not implemented, so this does nothing."
(none)
)
;; definition for method 13 of type perf-stat
;; INFO: Return type mismatch int vs none.
(defmethod
update-wait-stats-13
perf-stat
((obj perf-stat) (arg0 uint) (arg1 uint) (arg2 uint))
(defmethod update-wait-stats-13 perf-stat ((obj perf-stat) (arg0 uint) (arg1 uint) (arg2 uint))
(when (nonzero? (-> obj ctrl))
(set! (-> obj to-vu0-waits) (+ (-> obj to-vu0-waits) arg0))
(set! (-> obj to-spr-waits) (+ (-> obj to-spr-waits) arg1))
(set! (-> obj from-spr-waits) (+ (-> obj from-spr-waits) arg2))
)
(let ((v0-0 0))
)
(none)
)