Deleted Added
full compact
acutils.h (243347) acutils.h (245582)
1/******************************************************************************
2 *
3 * Name: acutils.h -- prototypes for the common (subsystem-wide) procedures
4 *
5 *****************************************************************************/
6
7/*
1/******************************************************************************
2 *
3 * Name: acutils.h -- prototypes for the common (subsystem-wide) procedures
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.
8 * Copyright (C) 2000 - 2013, Intel Corp.
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.

--- 79 unchanged lines hidden (view full) ---

96#define ACPI_SMALL_VARIABLE_LENGTH 3
97
98typedef
99ACPI_STATUS (*ACPI_WALK_AML_CALLBACK) (
100 UINT8 *Aml,
101 UINT32 Length,
102 UINT32 Offset,
103 UINT8 ResourceIndex,
9 * All rights reserved.
10 *
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
13 * are met:
14 * 1. Redistributions of source code must retain the above copyright
15 * notice, this list of conditions, and the following disclaimer,
16 * without modification.

--- 79 unchanged lines hidden (view full) ---

96#define ACPI_SMALL_VARIABLE_LENGTH 3
97
98typedef
99ACPI_STATUS (*ACPI_WALK_AML_CALLBACK) (
100 UINT8 *Aml,
101 UINT32 Length,
102 UINT32 Offset,
103 UINT8 ResourceIndex,
104 void *Context);
104 void **Context);
105
106typedef
107ACPI_STATUS (*ACPI_PKG_CALLBACK) (
108 UINT8 ObjectType,
109 ACPI_OPERAND_OBJECT *SourceObject,
110 ACPI_GENERIC_STATE *State,
111 void *Context);
112

--- 591 unchanged lines hidden (view full) ---

704 UINT64 InDividend,
705 UINT32 Divisor,
706 UINT64 *OutQuotient,
707 UINT32 *OutRemainder);
708
709/*
710 * utmisc
711 */
105
106typedef
107ACPI_STATUS (*ACPI_PKG_CALLBACK) (
108 UINT8 ObjectType,
109 ACPI_OPERAND_OBJECT *SourceObject,
110 ACPI_GENERIC_STATE *State,
111 void *Context);
112

--- 591 unchanged lines hidden (view full) ---

704 UINT64 InDividend,
705 UINT32 Divisor,
706 UINT64 *OutQuotient,
707 UINT32 *OutRemainder);
708
709/*
710 * utmisc
711 */
712void
713UtConvertBackslashes (
714 char *Pathname);
715
716const char *
717AcpiUtValidateException (
718 ACPI_STATUS Status);
719
720BOOLEAN
721AcpiUtIsPciRootBridge (
722 char *Id);
723
724BOOLEAN
725AcpiUtIsAmlTable (
726 ACPI_TABLE_HEADER *Table);
727
728ACPI_STATUS
712const char *
713AcpiUtValidateException (
714 ACPI_STATUS Status);
715
716BOOLEAN
717AcpiUtIsPciRootBridge (
718 char *Id);
719
720BOOLEAN
721AcpiUtIsAmlTable (
722 ACPI_TABLE_HEADER *Table);
723
724ACPI_STATUS
729AcpiUtAllocateOwnerId (
730 ACPI_OWNER_ID *OwnerId);
731
732void
733AcpiUtReleaseOwnerId (
734 ACPI_OWNER_ID *OwnerId);
735
736ACPI_STATUS
737AcpiUtWalkPackageTree (
738 ACPI_OPERAND_OBJECT *SourceObject,
739 void *TargetObject,
740 ACPI_PKG_CALLBACK WalkCallback,
741 void *Context);
742
725AcpiUtWalkPackageTree (
726 ACPI_OPERAND_OBJECT *SourceObject,
727 void *TargetObject,
728 ACPI_PKG_CALLBACK WalkCallback,
729 void *Context);
730
743void
744AcpiUtStrupr (
745 char *SrcString);
746
731
747void
748AcpiUtStrlwr (
749 char *SrcString);
750
751int
752AcpiUtStricmp (
753 char *String1,
754 char *String2);
755
756void
757AcpiUtPrintString (
758 char *String,
759 UINT8 MaxLength);
760
761BOOLEAN
762AcpiUtValidAcpiName (
763 UINT32 Name);
764
765void
766AcpiUtRepairName (
767 char *Name);
768
769BOOLEAN
770AcpiUtValidAcpiChar (
771 char Character,
772 UINT32 Position);
773
774ACPI_STATUS
775AcpiUtStrtoul64 (
776 char *String,
777 UINT32 Base,
778 UINT64 *RetInteger);
779
780/* Values for Base above (16=Hex, 10=Decimal) */
781
782#define ACPI_ANY_BASE 0
783
784UINT32
785AcpiUtDwordByteSwap (
786 UINT32 Value);
787

--- 6 unchanged lines hidden (view full) ---

794AcpiUtDisplayInitPathname (
795 UINT8 Type,
796 ACPI_NAMESPACE_NODE *ObjHandle,
797 char *Path);
798#endif
799
800
801/*
732/* Values for Base above (16=Hex, 10=Decimal) */
733
734#define ACPI_ANY_BASE 0
735
736UINT32
737AcpiUtDwordByteSwap (
738 UINT32 Value);
739

--- 6 unchanged lines hidden (view full) ---

746AcpiUtDisplayInitPathname (
747 UINT8 Type,
748 ACPI_NAMESPACE_NODE *ObjHandle,
749 char *Path);
750#endif
751
752
753/*
754 * utownerid - Support for Table/Method Owner IDs
755 */
756ACPI_STATUS
757AcpiUtAllocateOwnerId (
758 ACPI_OWNER_ID *OwnerId);
759
760void
761AcpiUtReleaseOwnerId (
762 ACPI_OWNER_ID *OwnerId);
763
764
765/*
802 * utresrc
803 */
804ACPI_STATUS
805AcpiUtWalkAmlResources (
806 ACPI_WALK_STATE *WalkState,
807 UINT8 *Aml,
808 ACPI_SIZE AmlLength,
809 ACPI_WALK_AML_CALLBACK UserFunction,
766 * utresrc
767 */
768ACPI_STATUS
769AcpiUtWalkAmlResources (
770 ACPI_WALK_STATE *WalkState,
771 UINT8 *Aml,
772 ACPI_SIZE AmlLength,
773 ACPI_WALK_AML_CALLBACK UserFunction,
810 void *Context);
774 void **Context);
811
812ACPI_STATUS
813AcpiUtValidateResource (
814 ACPI_WALK_STATE *WalkState,
815 void *Aml,
816 UINT8 *ReturnIndex);
817
818UINT32

--- 14 unchanged lines hidden (view full) ---

833
834ACPI_STATUS
835AcpiUtGetResourceEndTag (
836 ACPI_OPERAND_OBJECT *ObjDesc,
837 UINT8 **EndTag);
838
839
840/*
775
776ACPI_STATUS
777AcpiUtValidateResource (
778 ACPI_WALK_STATE *WalkState,
779 void *Aml,
780 UINT8 *ReturnIndex);
781
782UINT32

--- 14 unchanged lines hidden (view full) ---

797
798ACPI_STATUS
799AcpiUtGetResourceEndTag (
800 ACPI_OPERAND_OBJECT *ObjDesc,
801 UINT8 **EndTag);
802
803
804/*
805 * utstring - String and character utilities
806 */
807void
808AcpiUtStrupr (
809 char *SrcString);
810
811void
812AcpiUtStrlwr (
813 char *SrcString);
814
815int
816AcpiUtStricmp (
817 char *String1,
818 char *String2);
819
820ACPI_STATUS
821AcpiUtStrtoul64 (
822 char *String,
823 UINT32 Base,
824 UINT64 *RetInteger);
825
826void
827AcpiUtPrintString (
828 char *String,
829 UINT8 MaxLength);
830
831void
832UtConvertBackslashes (
833 char *Pathname);
834
835BOOLEAN
836AcpiUtValidAcpiName (
837 UINT32 Name);
838
839BOOLEAN
840AcpiUtValidAcpiChar (
841 char Character,
842 UINT32 Position);
843
844void
845AcpiUtRepairName (
846 char *Name);
847
848
849/*
841 * utmutex - mutex support
842 */
843ACPI_STATUS
844AcpiUtMutexInitialize (
845 void);
846
847void
848AcpiUtMutexTerminate (

--- 148 unchanged lines hidden ---
850 * utmutex - mutex support
851 */
852ACPI_STATUS
853AcpiUtMutexInitialize (
854 void);
855
856void
857AcpiUtMutexTerminate (

--- 148 unchanged lines hidden ---