Jump to content

DSDT disass+compile: newest iASLme / IASL :, Juli 11th 2012


  • Please log in to reply
266 replies to this topic

#261
Bungo

Bungo

    InsanelyMac Sage

  • Coders
  • 296 posts
  • Gender:Male

11 July 2012. Summary of changes for version 20120711:

1) ACPICA Kernel-resident Subsystem _linenums:0'>[color=#000000]1) ACPICA Kernel-resident Subsystem:Fixed a possible fault in the return package object repair code. Fixes aproblem that can occur when a lone package object is wrapped with an outerpackage object in order to force conformance to the ACPI specification. Canaffect these predefined names: _ALR, _MLS, _PSS, _TRT, _TSS, _PRT, _HPX, _DLM,_CSD, _PSD, _TSD.Removed code to disable/enable bus master arbitration (ARB_DIS bit in thePM2_CNT register) in the ACPICA sleep/wake interfaces. Management of theARB_DIS bit must be implemented in the host-dependent C3 processor power statesupport. Note, ARB_DIS is obsolete and only applies to older chipsets, bothIntel and other vendors. (for Intel: ICH4-M and earlier)This change removes the code to disable/enable bus master arbitration duringsuspend/resume. Use of the ARB_DIS bit in the optional PM2_CNT register causesresume problems on some machines. The change has been in use for over sevenyears within Linux.Implemented two new external interfaces to support host-directed dynamic ACPItable load and unload. They are intended to simplify the host implementationof hot-plug support:AcpiLoadTable: Load an SSDT from a buffer into the namespace.AcpiUnloadParentTable: Unload an SSDT via a named object owned by the table.See the ACPICA reference for additional details. Adds one new file,components/tables/tbxfload.cImplemented and deployed two new interfaces for errors and warnings that areknown to be caused by BIOS/firmware issues:AcpiBiosError: Prints "ACPI Firmware Error" message.AcpiBiosWarning: Prints "ACPI Firmware Warning" message.Deployed these new interfaces in the ACPICA Table Manager code for ACPI tableand FADT errors. Additional deployment to be completed as appropriate in thefuture. The associated conditional macros are ACPI_BIOS_ERROR andACPI_BIOS_WARNING. See the ACPICA reference for additional details. [url="http://www.acpica.org/bugzilla/show_bug.cgi?id=843"]ACPICA BZ843[/url].Implicit notify support: ensure that no memory allocation occurs within acritical region. This fix moves a memory allocation outside of the time that aspinlock is held. Fixes issues on systems that do not allow this behavior.Jung-uk Kim.Split exception code utilities and tables into a new file, utilities/utexcep.c2) iASL Compiler/Disassembler and Tools:iASL: Fixed a parser problem for hosts where EOF is defined as -1 instead of0. Jung-uk Kim.Debugger: Enhanced the "tables" command to emit additional information aboutthe current set of ACPI tables, including the owner ID and flags decode.Debugger: Reimplemented the "unload" command to use the newAcpiUnloadParentTable external interface. This command was disable previouslydue to need for an unload interface.AcpiHelp: Added a new option to decode ACPICA exception codes. The -e optionwill decode 16-bit hex status codes (ACPI_STATUS) to name strings.


iASL command line version 20120711 (July 11th 2012), Universal Binary (32 & 64 bit) -> http://drop.st/NtB93d

iaslMe 1.33 version 20120711 (June 11th 2012), Universal Binary (32 & 64 bit) -> http://drop.st/jLsMBx


Creadits to: cVad, Kabyl, Slice, STLVNUB


Reupload iaslMe please.

Attached File  upload_not_found.png   22.85KB   1 downloads

#262
mitch_de

mitch_de

    InsanelyMacaholic

  • Local Moderators
  • 2,884 posts
  • Gender:Male
  • Location:Stuttgart / Germany
Here you go:

Attached Files



#263
STLVNUB

STLVNUB

    InsanelyMac Legend

  • Coders
  • 1,127 posts
  • Gender:Male
New version, ACPICATool V0.8.
Fixed git clone error.
Available on github
https://github.com/STLVNUB/ACPICATool

#264
Bungo

Bungo

    InsanelyMac Sage

  • Coders
  • 296 posts
  • Gender:Male

Here you go:

Thanks

#265
qwerty12

qwerty12

    InsanelyMac Protégé

  • Members
  • Pip
  • 49 posts
  • Gender:Male
  • Location:UK
For anyone using Homebrew, here's an iasl formula:

require 'formula'
class Iasl < Formula
  homepage 'https://www.acpica.org'
  url 'https://acpica.org/sites/acpica/files/acpica-unix-20130418.tar.gz'
  def patches
    DATA
  end
  def install
    ENV.j1
    bin.mkpath
    system "make iasl HOST=_LINUX"
    system "make install PROGS=iasl INSTALLDIR=#{bin}"
  end
  def test
    system "#{bin}/iasl -v"
  end
end
__END__
# BSD cp doesn't understand --remove-destination so use -force instead
diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config
index 65242e0..14e49c4 100644
--- a/generate/unix/Makefile.config
+++ b/generate/unix/Makefile.config
@@ -61,7 +61,7 @@ RENAMEPROG = \
#
COPYPROG = \
  @mkdir -p ../$(BINDIR); \
- cp --remove-destination $(PROG) ../$(BINDIR); \
+ cp -f $(PROG) ../$(BINDIR); \
  echo "Copied $(PROG) to $(FINAL_PROG)";
#
# BSD install recursive directory creating won't let you copy the file also,
# unlike GNU's. Just have install install the correct binary and rely on
# bin.mkpath to create the destdir beforehand
diff --git a/generate/unix/Makefile.config b/generate/unix/Makefile.config
index 14e49c4..62eb4eb 100644
--- a/generate/unix/Makefile.config
+++ b/generate/unix/Makefile.config
@@ -45,7 +45,7 @@ BITSFLAG =   -m$(BITS)
COMPILEOBJ = $(CC) -c $(CFLAGS) $(OPT_CFLAGS) -o $@ $<
LINKPROG =   $(CC) $(OBJECTS) -o $(PROG) $(LDFLAGS)
INSTALLDIR = /usr/bin
-INSTALLPROG = install -D ../$(BINDIR)/$(PROG) $(DESTDIR)$(INSTALLDIR)/$(PROG)
+INSTALLPROG = install ../$(BINDIR)/$(PROG) $(DESTDIR)$(INSTALLDIR)/$(PROG)

#
# Rename a .exe file if necessary

Sadly, nothing happened when I tried to submit it, but it's easy to keep up to date manually: just change "20130418" with "<latest version of ACPICA as reported on their site>" to get the newest version.

#266
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 538 posts
  • Gender:Male
As an addition, here is a formula to compile all acpica utilities. Thanks to lianqi.
Additionally, you can build directly from the git repo with "install --HEAD".
Spoiler


History:
2013-05-27 official acpica formula available
2013-05-18 acpica now has OS X compilation support
2013-05-10 Reflects recent Makefile update

Edited by k3nny, 26 May 2013 - 11:14 PM.


#267
.::Fabio::.

.::Fabio::.

    InsanelyMac Legend

  • Moderators
  • 7,438 posts
  • Gender:Male
  • Location:Italy

Here you go:

Thanks







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy