IRC channel logs
2021-12-25.log
back to list of logs
<damo22>biblio: i did mean the tip of the branch <biblio>damo22: acpi: Add new RPCs commit you mean ? <damo22>whatever is latest on acpica-integrate <biblio>damo22: yes I tried to compile but getting compile error. <biblio>damo22: well i was able to fix some of them but finally. I got many u32 UNIT64 not found. Let me generate the error again after reset. I was trying to fix it. <damo22>ah i think that is non-portable, i usually build in different directory to the source <damo22>so yes it depends where you build your tree <biblio>damo22: I was able to fix this minor issue. I saw from acpi that we need iASL compiler to compile. I am still not clear about their documentation. <biblio>damo2: I am sending you error output shortly. now building... <damo22>we want to be able to walk the ACPI tree within existing firmware and extract just the IRQ mappings <biblio>damo22: did you able to build the commit ? Just curious, if I am doing something wrong. <damo22>biblio: i was able to build libacpica.a <damo22>mkdir build && cd build && ../configure && cd libacpica && make <biblio>damo22: I am first running $ autoconf then $./configure then $ make <damo22>i always build hurd out of tree from the source <damo22>hmm but building the acpi translator fails <biblio>damo22: i saw the duplicate definitions in acpi.h and acpi_S.h <biblio>damo22: you include acpi.h but also add acpi_S.h in makefile. I am still trying to understand. <damo22>mach interface generator (mig) generates the *_S.h things <damo22>it saves time and effort writing the RPC interfaces by hand <biblio>damo22: ok could you suggest what can I do as next steps. <damo22>biblio: i am trying to compile the acpi translator and link with libacpica.a <damo22>ahh its a bit tricky, let me paste something <damo22>that should allow the acpi translator to be built with libacpica <damo22>i think acpi_init.c is still not quite ready <damo22>i had trouble with the locking/threading <damo22>i have another version that runs single threaded and no locks <damo22>do you want me to push that commit? <biblio>damo22: i can understand basic concepts of it. could also send me a link of single threaded one. so I can compare. <damo22>so you can try a fully working example <damo22>one is trying to fix the threading, the other one makes it single threaded <damo22>sorry you'll need to figure it out from here <biblio>damo22: I am using debian-hurd-20210812.img <biblio>damo22: sure i will try with acpica-nothread <damo22>you could try upgrading the packages in the debian-hurd <damo22>but for this task its probably not necessary <biblio>damo22: ok i will test after updating <damo22>you only need libacpica.a and acpi translator <damo22>libacpica.so.0.3 probably for dynamic lib <biblio>damo22: debian hurd it is up-to-date.