Results 226 comments of Simonas Kazlauskas

I’m aware of superiotool, I’ve already figured out the purpose of all these port writes as well. Thanks for the cross-post though!

I have a confirmation that B450 TOMAHAWK, which has the same chip appears to be working fine with `--ignore-check` specified. Once I receive more confirmations with more boards, I'm planning...

You could be the one who confirms it, although do read the license first.

Dumping the base ports won’t help you. In fact, it is very likely to cause real problems. The process of “dumping” data from the SIO chip involves writing a request...

There are two methods to do this: 1. using a debugger and a log breakpoint; 2. replacing a dll with another crafted in a very certain way. I used (1)...

Is using OS-specific [open](https://docs.rs/libloading/0.4.0/libloading/os/unix/struct.Library.html#method.open) with appropriate flags not good enough? Windows is more tricky. I did not implement `open` for it specifically because I found `GetModuleHandleEx` to be extremely difficult...

I do not exactly remember the exact difference. Besides it is fairly trivial to implement opening exactly the way you want it in library: ``` #[cfg(windows)] fn my_open(..) -> Result...

`LoadLibraryEx` will just increment a reference count if the library is already loaded, just like `dlopen` does. There’s no point in using `GetModuleHandleEx` at all IMO.

Yeah, sorry, my bad. `RTLD_NOLOAD` is a glibc-specific extension that has propagated to some other targets, but not all of them. As thus this `Library::open_if_already_loaded` cannot get implemented on systems...

As I said before, though, I'm happy to accept at least a PR for the Windows side of this!