code wiki / _hdl_build / nx_update_winwinwin.nx
nx_update_winwinwin.nx
buildroot/runtime/_hdl_build/nx_update_winwinwin.nx
about
nx_update_winwinwin.nx -- the cross-cutting UPDATE GATE that is the OPPOSITE of awful Windows updates
(operator: "when we need to make an update across everything it's easy and doesn't negatively impact the
user but improves in a win for the hardware - win for the software - win for the user way"). An update is
scored on three axes; the USER axis has an ABSOLUTE veto (we never ship a user regression for our own
convenience), no axis may regress, and there must be a net win. license_tier: ORIGINAL Reports via PM.
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_maint_report.nx
structs
| none |
consts
| 9 | const WWW_REGRESS: i64 = 0 - 1 // this axis gets worse |
| 10 | const WWW_NEUTRAL: i64 = 0 |
| 11 | const WWW_IMPROVE: i64 = 1 |
| 13 | const WWW_APPROVE: i64 = 1 |
| 14 | const WWW_HOLD: i64 = 0 // safe but no benefit -> don't churn |
| 15 | const WWW_REJECT: i64 = 0 - 1 // harms an axis -> never ship |
functions
| 18 | func www_verdict(hw: i64, sw: i64, user: i64) -> i64 called by 1: main |
| 27 | func www_is_user_safe(user: i64) -> i64 { if user >= 0 { return 1 } return 0 } called by 1: main |
| 28 | func www_is_win_win_win(hw: i64, sw: i64, user: i64) -> i64 called by 1: main |
| 32 | func www_label(v: i64) -> *u8 called by 1: main |