acpi_apei.c (52a54b96ed1b7c0a1c04fc7651a1fc036bdc5bbc) | acpi_apei.c (7ae99f80b6661760c5de3edd330b279f04b092a2) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2020 Alexander Motin <mav@FreeBSD.org> 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 773 unchanged lines hidden (view full) --- 782 ge->v1.Notify.Type == ACPI_HEST_NOTIFY_GPIO || 783 ge->v1.Notify.Type == ACPI_HEST_NOTIFY_GSIV) { 784 TAILQ_REMOVE(&sc->iges.ges, ge, nlink); 785 } else if (ge->v1.Notify.Type == ACPI_HEST_NOTIFY_NMI) { 786 TAILQ_REMOVE(&sc->nges.ges, ge, nlink); 787 free(ge->copybuf, M_DEVBUF); 788 } 789 if (ge->buf) { | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2020 Alexander Motin <mav@FreeBSD.org> 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 773 unchanged lines hidden (view full) --- 782 ge->v1.Notify.Type == ACPI_HEST_NOTIFY_GPIO || 783 ge->v1.Notify.Type == ACPI_HEST_NOTIFY_GSIV) { 784 TAILQ_REMOVE(&sc->iges.ges, ge, nlink); 785 } else if (ge->v1.Notify.Type == ACPI_HEST_NOTIFY_NMI) { 786 TAILQ_REMOVE(&sc->nges.ges, ge, nlink); 787 free(ge->copybuf, M_DEVBUF); 788 } 789 if (ge->buf) { |
790 pmap_unmapdev((vm_offset_t)ge->buf, 791 ge->v1.ErrorBlockLength); | 790 pmap_unmapdev(ge->buf, ge->v1.ErrorBlockLength); |
792 } 793 free(ge, M_DEVBUF); 794 } 795 return (0); 796} 797 798static device_method_t apei_methods[] = { 799 /* Device interface */ --- 33 unchanged lines hidden --- | 791 } 792 free(ge, M_DEVBUF); 793 } 794 return (0); 795} 796 797static device_method_t apei_methods[] = { 798 /* Device interface */ --- 33 unchanged lines hidden --- |