Commit Graph

31 Commits

Author SHA1 Message Date
Michael Scire
6a5d2ced4b ams: globally prefer R_RETURN to return for ams::Result 2022-04-04 17:46:58 -07:00
Michael Scire
6f4618ea60 ams: use R_SUCCEED, R_THROW globally 2022-04-04 17:46:57 -07:00
Michael Scire
d7a9c7ec4c ams: support building unit test programs on windows/linux/macos 2022-03-23 09:15:46 -07:00
Michael Scire
9436b9a555 ams: deduplicate static initialization logic 2022-01-19 16:28:54 -08:00
Michael Scire
21cb300537 constexpr: resign ourselves to gcc dropping void -> T support 2021-10-26 01:11:10 -07:00
Michael Scire
3e33fb6361 strat: use m_ for member variables 2021-10-15 23:54:35 -07:00
Michael Scire
e2df2f98a3 strat: always use explicit result namespacing 2021-10-15 23:54:33 -07:00
Michael Scire
3fcc3c8e72 boot: save 12KB 2021-10-07 23:06:29 -07:00
Michael Scire
8a8631ebcb strat: build sysmodules with -Wextra/-Werror 2021-10-07 23:06:29 -07:00
Michael Scire
fd1b6d4578 libstrat: enable -Wextra, -Werror
This caught an embarrassingly large number of bugs.
2021-10-07 23:06:28 -07:00
Michael Scire
002422d5dc ams: the copyright^H^H^H^H^H^H^Hmplex plane is the algebraic closure of the reals 2021-10-07 23:06:25 -07:00
Michael Scire
dc42da8456 boot: update all autogenerated parameters other than charge 2021-04-30 08:56:11 -07:00
Michael Scire
12471d428d strat: compat with gcc 11 2021-04-29 03:04:54 -07:00
Michael Scire
9b47aa6e08 ams: prefer construct_at/destroy_at over placement new/explicit destructor 2021-04-11 03:59:04 -07:00
Michael Scire
85348a7664 boot2: update for new sf semantics 2021-02-02 12:16:24 -08:00
Michael Scire
637c44f64d libstrat: convert to experimental new (super-accurate) sf allocation semantics 2021-02-02 12:16:20 -08:00
Michael Scire
90f2c7b349 strat: fix board namespacing for nintendo::nx 2020-12-29 13:07:58 -08:00
Michael Scire
e82a57dc85 ams: resolve source dir inconsistency 2020-12-29 13:07:57 -08:00
Michael Scire
aa7ed49d2d i2c: correct missing destruction 2020-12-02 06:52:51 -08:00
Michael Scire
776947e28f boot/powctl/i2c: more miscellaneous fixes 2020-12-02 06:52:50 -08:00
Michael Scire
0ca028cfbc boot: various bugfixes (b/w logo displays now) 2020-12-02 06:52:50 -08:00
Michael Scire
442c15d78c i2c: implement remaining required driver logic 2020-12-02 06:52:46 -08:00
Michael Scire
3d423c4e0e i2c: command list format, get boot down to linker errors 2020-12-02 06:52:46 -08:00
Michael Scire
134d7f2d9f i2c/gpio: hook up open session for sf interface 2020-12-02 06:52:46 -08:00
Michael Scire
8e2101c403 i2c: implement driver init api 2020-12-02 06:52:45 -08:00
Michael Scire
56b8374ef9 i2c: finish I2cBusAccessor 2020-12-02 06:52:45 -08:00
Michael Scire
fecad158f3 i2c: implement BusAccessor::WriteHeader 2020-12-02 06:52:45 -08:00
Michael Scire
462ab175af i2c: implement BusAccessor except Send/Receive/WriteHeader 2020-12-02 06:52:45 -08:00
Michael Scire
f99c30920b boot: add rgltr/clkrst overrides, skel I2cBusAccessor 2020-12-02 06:52:44 -08:00
Michael Scire
de95812488 i2c: add auto-generated bus/device map 2020-12-02 06:52:44 -08:00
Michael Scire
778bea6e41 i2c: begin skeleton device driver framework 2020-12-02 06:52:44 -08:00