diff options
Diffstat (limited to 'sys/dev/microcode/aic7xxx/aic7xxx_seq.h')
-rw-r--r-- | sys/dev/microcode/aic7xxx/aic7xxx_seq.h | 528 |
1 files changed, 265 insertions, 263 deletions
diff --git a/sys/dev/microcode/aic7xxx/aic7xxx_seq.h b/sys/dev/microcode/aic7xxx/aic7xxx_seq.h index 4bf7b3eb992..81359508043 100644 --- a/sys/dev/microcode/aic7xxx/aic7xxx_seq.h +++ b/sys/dev/microcode/aic7xxx/aic7xxx_seq.h @@ -1,10 +1,10 @@ -/* $OpenBSD: aic7xxx_seq.h,v 1.8 2002/06/28 00:34:55 smurph Exp $ */ +/* $OpenBSD: aic7xxx_seq.h,v 1.9 2002/06/30 18:25:58 smurph Exp $ */ /* * DO NOT EDIT - This file is automatically generated - * from the following source files: + * from the following source files: * - * $Id: aic7xxx_seq.h,v 1.8 2002/06/28 00:34:55 smurph Exp $ - * $Id: aic7xxx_seq.h,v 1.8 2002/06/28 00:34:55 smurph Exp $ + * $Id: aic7xxx_seq.h,v 1.9 2002/06/30 18:25:58 smurph Exp $ + * $Id: aic7xxx_seq.h,v 1.9 2002/06/30 18:25:58 smurph Exp $ */ static u_int8_t seqprog[] = { 0xb2, 0x00, 0x00, 0x08, @@ -875,412 +875,413 @@ static u_int8_t seqprog[] = { 0xff, 0x6a, 0xd4, 0x0c }; -static int ahc_patch23_func(struct ahc_softc *ahc); +static int aic_patch23_func(struct ahc_softc *ahc); static int -ahc_patch23_func(struct ahc_softc *ahc) +aic_patch23_func(struct ahc_softc *ahc) { return ((ahc->bugs & AHC_SCBCHAN_UPLOAD_BUG) != 0); } -static int ahc_patch22_func(struct ahc_softc *ahc); +static int aic_patch22_func(struct ahc_softc *ahc); static int -ahc_patch22_func(struct ahc_softc *ahc) +aic_patch22_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_CMD_CHAN) == 0); } -static int ahc_patch21_func(struct ahc_softc *ahc); +static int aic_patch21_func(struct ahc_softc *ahc); static int -ahc_patch21_func(struct ahc_softc *ahc) +aic_patch21_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_QUEUE_REGS) == 0); } -static int ahc_patch20_func(struct ahc_softc *ahc); +static int aic_patch20_func(struct ahc_softc *ahc); static int -ahc_patch20_func(struct ahc_softc *ahc) +aic_patch20_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_WIDE) != 0); } -static int ahc_patch19_func(struct ahc_softc *ahc); +static int aic_patch19_func(struct ahc_softc *ahc); static int -ahc_patch19_func(struct ahc_softc *ahc) +aic_patch19_func(struct ahc_softc *ahc) { return ((ahc->flags & AHC_SCB_BTT) != 0); } -static int ahc_patch18_func(struct ahc_softc *ahc); +static int aic_patch18_func(struct ahc_softc *ahc); static int -ahc_patch18_func(struct ahc_softc *ahc) +aic_patch18_func(struct ahc_softc *ahc) { return ((ahc->bugs & AHC_PCI_2_1_RETRY_BUG) != 0); } -static int ahc_patch17_func(struct ahc_softc *ahc); +static int aic_patch17_func(struct ahc_softc *ahc); static int -ahc_patch17_func(struct ahc_softc *ahc) +aic_patch17_func(struct ahc_softc *ahc) { return ((ahc->flags & AHC_TMODE_WIDEODD_BUG) != 0); } -static int ahc_patch16_func(struct ahc_softc *ahc); +static int aic_patch16_func(struct ahc_softc *ahc); static int -ahc_patch16_func(struct ahc_softc *ahc) +aic_patch16_func(struct ahc_softc *ahc) { return ((ahc->bugs & AHC_AUTOFLUSH_BUG) != 0); } -static int ahc_patch15_func(struct ahc_softc *ahc); +static int aic_patch15_func(struct ahc_softc *ahc); static int -ahc_patch15_func(struct ahc_softc *ahc) +aic_patch15_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_ULTRA2) == 0); } -static int ahc_patch14_func(struct ahc_softc *ahc); +static int aic_patch14_func(struct ahc_softc *ahc); static int -ahc_patch14_func(struct ahc_softc *ahc) +aic_patch14_func(struct ahc_softc *ahc) { return ((ahc->bugs & AHC_PCI_MWI_BUG) != 0 && ahc->pci_cachesize != 0); } -static int ahc_patch13_func(struct ahc_softc *ahc); +static int aic_patch13_func(struct ahc_softc *ahc); static int -ahc_patch13_func(struct ahc_softc *ahc) +aic_patch13_func(struct ahc_softc *ahc) { return ((ahc->flags & AHC_39BIT_ADDRESSING) != 0); } -static int ahc_patch12_func(struct ahc_softc *ahc); +static int aic_patch12_func(struct ahc_softc *ahc); static int -ahc_patch12_func(struct ahc_softc *ahc) +aic_patch12_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_ULTRA) != 0); } -static int ahc_patch11_func(struct ahc_softc *ahc); +static int aic_patch11_func(struct ahc_softc *ahc); static int -ahc_patch11_func(struct ahc_softc *ahc) +aic_patch11_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_HS_MAILBOX) != 0); } -static int ahc_patch10_func(struct ahc_softc *ahc); +static int aic_patch10_func(struct ahc_softc *ahc); static int -ahc_patch10_func(struct ahc_softc *ahc) +aic_patch10_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_MULTI_TID) != 0); } -static int ahc_patch9_func(struct ahc_softc *ahc); +static int aic_patch9_func(struct ahc_softc *ahc); static int -ahc_patch9_func(struct ahc_softc *ahc) +aic_patch9_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_CMD_CHAN) != 0); } -static int ahc_patch8_func(struct ahc_softc *ahc); +static int aic_patch8_func(struct ahc_softc *ahc); static int -ahc_patch8_func(struct ahc_softc *ahc) +aic_patch8_func(struct ahc_softc *ahc) { return ((ahc->flags & AHC_INITIATORROLE) != 0); } -static int ahc_patch7_func(struct ahc_softc *ahc); +static int aic_patch7_func(struct ahc_softc *ahc); static int -ahc_patch7_func(struct ahc_softc *ahc) +aic_patch7_func(struct ahc_softc *ahc) { return ((ahc->flags & AHC_TARGETROLE) != 0); } -static int ahc_patch6_func(struct ahc_softc *ahc); +static int aic_patch6_func(struct ahc_softc *ahc); static int -ahc_patch6_func(struct ahc_softc *ahc) +aic_patch6_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_DT) == 0); } -static int ahc_patch5_func(struct ahc_softc *ahc); +static int aic_patch5_func(struct ahc_softc *ahc); static int -ahc_patch5_func(struct ahc_softc *ahc) +aic_patch5_func(struct ahc_softc *ahc) { return ((ahc->flags & AHC_SEQUENCER_DEBUG) != 0); } -static int ahc_patch4_func(struct ahc_softc *ahc); +static int aic_patch4_func(struct ahc_softc *ahc); static int -ahc_patch4_func(struct ahc_softc *ahc) +aic_patch4_func(struct ahc_softc *ahc) { return ((ahc->flags & AHC_PAGESCBS) != 0); } -static int ahc_patch3_func(struct ahc_softc *ahc); +static int aic_patch3_func(struct ahc_softc *ahc); static int -ahc_patch3_func(struct ahc_softc *ahc) +aic_patch3_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_QUEUE_REGS) != 0); } -static int ahc_patch2_func(struct ahc_softc *ahc); +static int aic_patch2_func(struct ahc_softc *ahc); static int -ahc_patch2_func(struct ahc_softc *ahc) +aic_patch2_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_TWIN) != 0); } -static int ahc_patch1_func(struct ahc_softc *ahc); +static int aic_patch1_func(struct ahc_softc *ahc); static int -ahc_patch1_func(struct ahc_softc *ahc) +aic_patch1_func(struct ahc_softc *ahc) { return ((ahc->features & AHC_ULTRA2) != 0); } -static int ahc_patch0_func(struct ahc_softc *ahc); +static int aic_patch0_func(struct ahc_softc *ahc); static int -ahc_patch0_func(struct ahc_softc *ahc) +aic_patch0_func(struct ahc_softc *ahc) { return (0); } -typedef int patch_func_t(struct ahc_softc *); -struct patch { +typedef int patch_func_t (struct ahc_softc *ahc); +static struct patch { patch_func_t *patch_func; - u_int32_t begin :10, + uint32_t begin :10, skip_instr :10, skip_patch :12; } patches[] = { - { ahc_patch1_func, 4, 1, 1 }, - { ahc_patch2_func, 6, 2, 1 }, - { ahc_patch2_func, 9, 1, 1 }, - { ahc_patch3_func, 11, 1, 2 }, - { ahc_patch0_func, 12, 2, 1 }, - { ahc_patch4_func, 15, 1, 2 }, - { ahc_patch0_func, 16, 1, 1 }, - { ahc_patch5_func, 22, 2, 1 }, - { ahc_patch3_func, 27, 1, 2 }, - { ahc_patch0_func, 28, 1, 1 }, - { ahc_patch6_func, 34, 1, 1 }, - { ahc_patch7_func, 37, 62, 21 }, - { ahc_patch8_func, 37, 1, 1 }, - { ahc_patch9_func, 42, 3, 2 }, - { ahc_patch0_func, 45, 3, 1 }, - { ahc_patch10_func, 49, 1, 2 }, - { ahc_patch0_func, 50, 2, 3 }, - { ahc_patch1_func, 50, 1, 2 }, - { ahc_patch0_func, 51, 1, 1 }, - { ahc_patch2_func, 53, 2, 1 }, - { ahc_patch9_func, 55, 1, 2 }, - { ahc_patch0_func, 56, 1, 1 }, - { ahc_patch9_func, 60, 1, 2 }, - { ahc_patch0_func, 61, 1, 1 }, - { ahc_patch9_func, 70, 1, 2 }, - { ahc_patch0_func, 71, 1, 1 }, - { ahc_patch9_func, 74, 1, 2 }, - { ahc_patch0_func, 75, 1, 1 }, - { ahc_patch11_func, 85, 1, 2 }, - { ahc_patch0_func, 86, 1, 1 }, - { ahc_patch9_func, 94, 1, 2 }, - { ahc_patch0_func, 95, 1, 1 }, - { ahc_patch8_func, 99, 9, 4 }, - { ahc_patch1_func, 101, 1, 2 }, - { ahc_patch0_func, 102, 1, 1 }, - { ahc_patch2_func, 104, 2, 1 }, - { ahc_patch2_func, 113, 4, 1 }, - { ahc_patch1_func, 117, 1, 2 }, - { ahc_patch0_func, 118, 2, 3 }, - { ahc_patch2_func, 118, 1, 2 }, - { ahc_patch0_func, 119, 1, 1 }, - { ahc_patch7_func, 120, 4, 2 }, - { ahc_patch0_func, 124, 1, 1 }, - { ahc_patch12_func, 126, 2, 1 }, - { ahc_patch1_func, 128, 1, 2 }, - { ahc_patch0_func, 129, 1, 1 }, - { ahc_patch7_func, 130, 4, 1 }, - { ahc_patch7_func, 141, 80, 9 }, - { ahc_patch4_func, 159, 1, 1 }, - { ahc_patch1_func, 172, 1, 1 }, - { ahc_patch9_func, 180, 1, 2 }, - { ahc_patch0_func, 181, 1, 1 }, - { ahc_patch9_func, 190, 1, 2 }, - { ahc_patch0_func, 191, 1, 1 }, - { ahc_patch9_func, 207, 6, 2 }, - { ahc_patch0_func, 213, 6, 1 }, - { ahc_patch8_func, 221, 18, 2 }, - { ahc_patch1_func, 234, 1, 1 }, - { ahc_patch1_func, 241, 1, 2 }, - { ahc_patch0_func, 242, 2, 2 }, - { ahc_patch12_func, 243, 1, 1 }, - { ahc_patch9_func, 251, 31, 3 }, - { ahc_patch1_func, 267, 14, 2 }, - { ahc_patch13_func, 272, 1, 1 }, - { ahc_patch14_func, 282, 14, 1 }, - { ahc_patch1_func, 298, 1, 2 }, - { ahc_patch0_func, 299, 1, 1 }, - { ahc_patch9_func, 302, 1, 1 }, - { ahc_patch13_func, 307, 1, 1 }, - { ahc_patch9_func, 308, 2, 2 }, - { ahc_patch0_func, 310, 4, 1 }, - { ahc_patch14_func, 314, 1, 1 }, - { ahc_patch15_func, 317, 2, 3 }, - { ahc_patch9_func, 317, 1, 2 }, - { ahc_patch0_func, 318, 1, 1 }, - { ahc_patch6_func, 323, 1, 2 }, - { ahc_patch0_func, 324, 1, 1 }, - { ahc_patch1_func, 328, 50, 11 }, - { ahc_patch6_func, 337, 2, 4 }, - { ahc_patch7_func, 337, 1, 1 }, - { ahc_patch8_func, 338, 1, 1 }, - { ahc_patch0_func, 339, 1, 1 }, - { ahc_patch16_func, 340, 1, 1 }, - { ahc_patch6_func, 359, 6, 3 }, - { ahc_patch16_func, 359, 5, 1 }, - { ahc_patch0_func, 365, 5, 1 }, - { ahc_patch13_func, 373, 5, 1 }, - { ahc_patch0_func, 378, 54, 17 }, - { ahc_patch14_func, 378, 1, 1 }, - { ahc_patch7_func, 380, 2, 2 }, - { ahc_patch17_func, 381, 1, 1 }, - { ahc_patch9_func, 384, 1, 1 }, - { ahc_patch18_func, 391, 1, 1 }, - { ahc_patch14_func, 396, 9, 3 }, - { ahc_patch9_func, 397, 3, 2 }, - { ahc_patch0_func, 400, 3, 1 }, - { ahc_patch9_func, 408, 6, 2 }, - { ahc_patch0_func, 414, 9, 2 }, - { ahc_patch13_func, 414, 1, 1 }, - { ahc_patch13_func, 423, 2, 1 }, - { ahc_patch14_func, 425, 1, 1 }, - { ahc_patch9_func, 427, 1, 2 }, - { ahc_patch0_func, 428, 1, 1 }, - { ahc_patch7_func, 431, 1, 1 }, - { ahc_patch7_func, 432, 1, 1 }, - { ahc_patch8_func, 433, 3, 3 }, - { ahc_patch6_func, 434, 1, 2 }, - { ahc_patch0_func, 435, 1, 1 }, - { ahc_patch9_func, 436, 1, 1 }, - { ahc_patch15_func, 437, 1, 2 }, - { ahc_patch13_func, 437, 1, 1 }, - { ahc_patch14_func, 439, 9, 4 }, - { ahc_patch9_func, 439, 1, 1 }, - { ahc_patch9_func, 446, 2, 1 }, - { ahc_patch0_func, 448, 4, 3 }, - { ahc_patch9_func, 448, 1, 2 }, - { ahc_patch0_func, 449, 3, 1 }, - { ahc_patch1_func, 453, 2, 1 }, - { ahc_patch7_func, 455, 5, 2 }, - { ahc_patch0_func, 460, 1, 1 }, - { ahc_patch8_func, 461, 109, 23 }, - { ahc_patch1_func, 463, 3, 2 }, - { ahc_patch0_func, 466, 5, 3 }, - { ahc_patch9_func, 466, 2, 2 }, - { ahc_patch0_func, 468, 3, 1 }, - { ahc_patch1_func, 473, 2, 2 }, - { ahc_patch0_func, 475, 6, 3 }, - { ahc_patch9_func, 475, 2, 2 }, - { ahc_patch0_func, 477, 3, 1 }, - { ahc_patch1_func, 483, 2, 2 }, - { ahc_patch0_func, 485, 9, 7 }, - { ahc_patch9_func, 485, 5, 6 }, - { ahc_patch19_func, 485, 1, 2 }, - { ahc_patch0_func, 486, 1, 1 }, - { ahc_patch19_func, 488, 1, 2 }, - { ahc_patch0_func, 489, 1, 1 }, - { ahc_patch0_func, 490, 4, 1 }, - { ahc_patch6_func, 494, 3, 2 }, - { ahc_patch0_func, 497, 1, 1 }, - { ahc_patch1_func, 500, 1, 1 }, - { ahc_patch6_func, 506, 1, 2 }, - { ahc_patch0_func, 507, 1, 1 }, - { ahc_patch20_func, 544, 7, 1 }, - { ahc_patch3_func, 572, 1, 2 }, - { ahc_patch0_func, 573, 1, 1 }, - { ahc_patch21_func, 576, 1, 1 }, - { ahc_patch8_func, 578, 104, 33 }, - { ahc_patch4_func, 579, 1, 1 }, - { ahc_patch1_func, 585, 2, 2 }, - { ahc_patch0_func, 587, 1, 1 }, - { ahc_patch1_func, 590, 1, 2 }, - { ahc_patch0_func, 591, 1, 1 }, - { ahc_patch9_func, 592, 3, 3 }, - { ahc_patch15_func, 593, 1, 1 }, - { ahc_patch0_func, 595, 4, 1 }, - { ahc_patch19_func, 603, 2, 2 }, - { ahc_patch0_func, 605, 1, 1 }, - { ahc_patch19_func, 609, 10, 3 }, - { ahc_patch5_func, 611, 8, 1 }, - { ahc_patch0_func, 619, 9, 2 }, - { ahc_patch5_func, 620, 8, 1 }, - { ahc_patch4_func, 630, 1, 2 }, - { ahc_patch0_func, 631, 1, 1 }, - { ahc_patch19_func, 632, 1, 2 }, - { ahc_patch0_func, 633, 3, 2 }, - { ahc_patch4_func, 635, 1, 1 }, - { ahc_patch5_func, 636, 1, 1 }, - { ahc_patch5_func, 639, 1, 1 }, - { ahc_patch5_func, 641, 1, 1 }, - { ahc_patch4_func, 643, 2, 2 }, - { ahc_patch0_func, 645, 2, 1 }, - { ahc_patch5_func, 647, 1, 1 }, - { ahc_patch5_func, 650, 1, 1 }, - { ahc_patch5_func, 653, 1, 1 }, - { ahc_patch19_func, 657, 1, 1 }, - { ahc_patch19_func, 660, 1, 1 }, - { ahc_patch4_func, 666, 1, 1 }, - { ahc_patch6_func, 669, 1, 2 }, - { ahc_patch0_func, 670, 1, 1 }, - { ahc_patch7_func, 682, 16, 1 }, - { ahc_patch4_func, 698, 20, 1 }, - { ahc_patch9_func, 719, 4, 2 }, - { ahc_patch0_func, 723, 4, 1 }, - { ahc_patch9_func, 727, 4, 2 }, - { ahc_patch0_func, 731, 3, 1 }, - { ahc_patch6_func, 737, 1, 1 }, - { ahc_patch22_func, 739, 14, 1 }, - { ahc_patch7_func, 753, 3, 1 }, - { ahc_patch9_func, 765, 24, 8 }, - { ahc_patch19_func, 769, 1, 2 }, - { ahc_patch0_func, 770, 1, 1 }, - { ahc_patch15_func, 775, 4, 2 }, - { ahc_patch0_func, 779, 7, 3 }, - { ahc_patch23_func, 779, 5, 2 }, - { ahc_patch0_func, 784, 2, 1 }, - { ahc_patch0_func, 789, 42, 3 }, - { ahc_patch18_func, 801, 18, 2 }, - { ahc_patch0_func, 819, 1, 1 }, - { ahc_patch4_func, 843, 1, 1 }, - { ahc_patch4_func, 844, 3, 2 }, - { ahc_patch0_func, 847, 1, 1 }, - { ahc_patch13_func, 848, 3, 1 }, - { ahc_patch4_func, 851, 12, 1 } + { aic_patch1_func, 4, 1, 1 }, + { aic_patch2_func, 6, 2, 1 }, + { aic_patch2_func, 9, 1, 1 }, + { aic_patch3_func, 11, 1, 2 }, + { aic_patch0_func, 12, 2, 1 }, + { aic_patch4_func, 15, 1, 2 }, + { aic_patch0_func, 16, 1, 1 }, + { aic_patch5_func, 22, 2, 1 }, + { aic_patch3_func, 27, 1, 2 }, + { aic_patch0_func, 28, 1, 1 }, + { aic_patch6_func, 34, 1, 1 }, + { aic_patch7_func, 37, 62, 21 }, + { aic_patch8_func, 37, 1, 1 }, + { aic_patch9_func, 42, 3, 2 }, + { aic_patch0_func, 45, 3, 1 }, + { aic_patch10_func, 49, 1, 2 }, + { aic_patch0_func, 50, 2, 3 }, + { aic_patch1_func, 50, 1, 2 }, + { aic_patch0_func, 51, 1, 1 }, + { aic_patch2_func, 53, 2, 1 }, + { aic_patch9_func, 55, 1, 2 }, + { aic_patch0_func, 56, 1, 1 }, + { aic_patch9_func, 60, 1, 2 }, + { aic_patch0_func, 61, 1, 1 }, + { aic_patch9_func, 70, 1, 2 }, + { aic_patch0_func, 71, 1, 1 }, + { aic_patch9_func, 74, 1, 2 }, + { aic_patch0_func, 75, 1, 1 }, + { aic_patch11_func, 85, 1, 2 }, + { aic_patch0_func, 86, 1, 1 }, + { aic_patch9_func, 94, 1, 2 }, + { aic_patch0_func, 95, 1, 1 }, + { aic_patch8_func, 99, 9, 4 }, + { aic_patch1_func, 101, 1, 2 }, + { aic_patch0_func, 102, 1, 1 }, + { aic_patch2_func, 104, 2, 1 }, + { aic_patch2_func, 113, 4, 1 }, + { aic_patch1_func, 117, 1, 2 }, + { aic_patch0_func, 118, 2, 3 }, + { aic_patch2_func, 118, 1, 2 }, + { aic_patch0_func, 119, 1, 1 }, + { aic_patch7_func, 120, 4, 2 }, + { aic_patch0_func, 124, 1, 1 }, + { aic_patch12_func, 126, 2, 1 }, + { aic_patch1_func, 128, 1, 2 }, + { aic_patch0_func, 129, 1, 1 }, + { aic_patch7_func, 130, 4, 1 }, + { aic_patch7_func, 141, 80, 9 }, + { aic_patch4_func, 159, 1, 1 }, + { aic_patch1_func, 172, 1, 1 }, + { aic_patch9_func, 180, 1, 2 }, + { aic_patch0_func, 181, 1, 1 }, + { aic_patch9_func, 190, 1, 2 }, + { aic_patch0_func, 191, 1, 1 }, + { aic_patch9_func, 207, 6, 2 }, + { aic_patch0_func, 213, 6, 1 }, + { aic_patch8_func, 221, 18, 2 }, + { aic_patch1_func, 234, 1, 1 }, + { aic_patch1_func, 241, 1, 2 }, + { aic_patch0_func, 242, 2, 2 }, + { aic_patch12_func, 243, 1, 1 }, + { aic_patch9_func, 251, 31, 3 }, + { aic_patch1_func, 267, 14, 2 }, + { aic_patch13_func, 272, 1, 1 }, + { aic_patch14_func, 282, 14, 1 }, + { aic_patch1_func, 298, 1, 2 }, + { aic_patch0_func, 299, 1, 1 }, + { aic_patch9_func, 302, 1, 1 }, + { aic_patch13_func, 307, 1, 1 }, + { aic_patch9_func, 308, 2, 2 }, + { aic_patch0_func, 310, 4, 1 }, + { aic_patch14_func, 314, 1, 1 }, + { aic_patch15_func, 317, 2, 3 }, + { aic_patch9_func, 317, 1, 2 }, + { aic_patch0_func, 318, 1, 1 }, + { aic_patch6_func, 323, 1, 2 }, + { aic_patch0_func, 324, 1, 1 }, + { aic_patch1_func, 328, 50, 11 }, + { aic_patch6_func, 337, 2, 4 }, + { aic_patch7_func, 337, 1, 1 }, + { aic_patch8_func, 338, 1, 1 }, + { aic_patch0_func, 339, 1, 1 }, + { aic_patch16_func, 340, 1, 1 }, + { aic_patch6_func, 359, 6, 3 }, + { aic_patch16_func, 359, 5, 1 }, + { aic_patch0_func, 365, 5, 1 }, + { aic_patch13_func, 373, 5, 1 }, + { aic_patch0_func, 378, 54, 17 }, + { aic_patch14_func, 378, 1, 1 }, + { aic_patch7_func, 380, 2, 2 }, + { aic_patch17_func, 381, 1, 1 }, + { aic_patch9_func, 384, 1, 1 }, + { aic_patch18_func, 391, 1, 1 }, + { aic_patch14_func, 396, 9, 3 }, + { aic_patch9_func, 397, 3, 2 }, + { aic_patch0_func, 400, 3, 1 }, + { aic_patch9_func, 408, 6, 2 }, + { aic_patch0_func, 414, 9, 2 }, + { aic_patch13_func, 414, 1, 1 }, + { aic_patch13_func, 423, 2, 1 }, + { aic_patch14_func, 425, 1, 1 }, + { aic_patch9_func, 427, 1, 2 }, + { aic_patch0_func, 428, 1, 1 }, + { aic_patch7_func, 431, 1, 1 }, + { aic_patch7_func, 432, 1, 1 }, + { aic_patch8_func, 433, 3, 3 }, + { aic_patch6_func, 434, 1, 2 }, + { aic_patch0_func, 435, 1, 1 }, + { aic_patch9_func, 436, 1, 1 }, + { aic_patch15_func, 437, 1, 2 }, + { aic_patch13_func, 437, 1, 1 }, + { aic_patch14_func, 439, 9, 4 }, + { aic_patch9_func, 439, 1, 1 }, + { aic_patch9_func, 446, 2, 1 }, + { aic_patch0_func, 448, 4, 3 }, + { aic_patch9_func, 448, 1, 2 }, + { aic_patch0_func, 449, 3, 1 }, + { aic_patch1_func, 453, 2, 1 }, + { aic_patch7_func, 455, 5, 2 }, + { aic_patch0_func, 460, 1, 1 }, + { aic_patch8_func, 461, 109, 23 }, + { aic_patch1_func, 463, 3, 2 }, + { aic_patch0_func, 466, 5, 3 }, + { aic_patch9_func, 466, 2, 2 }, + { aic_patch0_func, 468, 3, 1 }, + { aic_patch1_func, 473, 2, 2 }, + { aic_patch0_func, 475, 6, 3 }, + { aic_patch9_func, 475, 2, 2 }, + { aic_patch0_func, 477, 3, 1 }, + { aic_patch1_func, 483, 2, 2 }, + { aic_patch0_func, 485, 9, 7 }, + { aic_patch9_func, 485, 5, 6 }, + { aic_patch19_func, 485, 1, 2 }, + { aic_patch0_func, 486, 1, 1 }, + { aic_patch19_func, 488, 1, 2 }, + { aic_patch0_func, 489, 1, 1 }, + { aic_patch0_func, 490, 4, 1 }, + { aic_patch6_func, 494, 3, 2 }, + { aic_patch0_func, 497, 1, 1 }, + { aic_patch1_func, 500, 1, 1 }, + { aic_patch6_func, 506, 1, 2 }, + { aic_patch0_func, 507, 1, 1 }, + { aic_patch20_func, 544, 7, 1 }, + { aic_patch3_func, 572, 1, 2 }, + { aic_patch0_func, 573, 1, 1 }, + { aic_patch21_func, 576, 1, 1 }, + { aic_patch8_func, 578, 104, 33 }, + { aic_patch4_func, 579, 1, 1 }, + { aic_patch1_func, 585, 2, 2 }, + { aic_patch0_func, 587, 1, 1 }, + { aic_patch1_func, 590, 1, 2 }, + { aic_patch0_func, 591, 1, 1 }, + { aic_patch9_func, 592, 3, 3 }, + { aic_patch15_func, 593, 1, 1 }, + { aic_patch0_func, 595, 4, 1 }, + { aic_patch19_func, 603, 2, 2 }, + { aic_patch0_func, 605, 1, 1 }, + { aic_patch19_func, 609, 10, 3 }, + { aic_patch5_func, 611, 8, 1 }, + { aic_patch0_func, 619, 9, 2 }, + { aic_patch5_func, 620, 8, 1 }, + { aic_patch4_func, 630, 1, 2 }, + { aic_patch0_func, 631, 1, 1 }, + { aic_patch19_func, 632, 1, 2 }, + { aic_patch0_func, 633, 3, 2 }, + { aic_patch4_func, 635, 1, 1 }, + { aic_patch5_func, 636, 1, 1 }, + { aic_patch5_func, 639, 1, 1 }, + { aic_patch5_func, 641, 1, 1 }, + { aic_patch4_func, 643, 2, 2 }, + { aic_patch0_func, 645, 2, 1 }, + { aic_patch5_func, 647, 1, 1 }, + { aic_patch5_func, 650, 1, 1 }, + { aic_patch5_func, 653, 1, 1 }, + { aic_patch19_func, 657, 1, 1 }, + { aic_patch19_func, 660, 1, 1 }, + { aic_patch4_func, 666, 1, 1 }, + { aic_patch6_func, 669, 1, 2 }, + { aic_patch0_func, 670, 1, 1 }, + { aic_patch7_func, 682, 16, 1 }, + { aic_patch4_func, 698, 20, 1 }, + { aic_patch9_func, 719, 4, 2 }, + { aic_patch0_func, 723, 4, 1 }, + { aic_patch9_func, 727, 4, 2 }, + { aic_patch0_func, 731, 3, 1 }, + { aic_patch6_func, 737, 1, 1 }, + { aic_patch22_func, 739, 14, 1 }, + { aic_patch7_func, 753, 3, 1 }, + { aic_patch9_func, 765, 24, 8 }, + { aic_patch19_func, 769, 1, 2 }, + { aic_patch0_func, 770, 1, 1 }, + { aic_patch15_func, 775, 4, 2 }, + { aic_patch0_func, 779, 7, 3 }, + { aic_patch23_func, 779, 5, 2 }, + { aic_patch0_func, 784, 2, 1 }, + { aic_patch0_func, 789, 42, 3 }, + { aic_patch18_func, 801, 18, 2 }, + { aic_patch0_func, 819, 1, 1 }, + { aic_patch4_func, 843, 1, 1 }, + { aic_patch4_func, 844, 3, 2 }, + { aic_patch0_func, 847, 1, 1 }, + { aic_patch13_func, 848, 3, 1 }, + { aic_patch4_func, 851, 12, 1 } }; -struct cs { - u_int16_t begin; - u_int16_t end; + +static struct cs { + u_int16_t begin; + u_int16_t end; } critical_sections[] = { { 11, 18 }, { 21, 30 }, @@ -1290,5 +1291,6 @@ struct cs { { 859, 861 }, { 861, 863 } }; -const int num_critical_sections = sizeof(critical_sections) - / sizeof(*critical_sections); + +static const int num_critical_sections = sizeof(critical_sections) + / sizeof(*critical_sections); |