@@ -16,7 +16,7 @@ mod test_infra;
1616fn test_basic_index_store_and_load_8_bit ( ) {
1717 // In this test, the data register has the same width as the fields and all fields are correctly
1818 // aligned. We should see single reads and writes for each store operation.
19- const AML : & str = r#"DefinitionBlock("%FN% ", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
19+ const AML : & str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
2020 OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
2121 Field(MEM, ByteAcc, NoLock, Preserve) {
2222 OFFSET(0x10),
@@ -70,7 +70,7 @@ fn test_basic_index_store_and_load_8_bit() {
7070fn test_basic_index_store_and_load_16_bit ( ) {
7171 // In this test, the data register has the same width as the fields and all fields are correctly
7272 // aligned. We should see single reads and writes for each store operation.
73- const AML : & str = r#"DefinitionBlock("%FN% ", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
73+ const AML : & str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
7474 OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
7575 Field(MEM, WordAcc, NoLock, Preserve) {
7676 OFFSET(0x20),
@@ -124,7 +124,7 @@ fn test_basic_index_store_and_load_16_bit() {
124124fn test_index_multiple_aligned_reads ( ) {
125125 // In this test, the data register is narrower than the fields, so multiple data register
126126 // reads are needed to access each field.
127- const AML : & str = r#"DefinitionBlock("%FN% ", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
127+ const AML : & str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
128128 OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
129129 Field(MEM, ByteAcc, NoLock, Preserve) {
130130 OFFSET(0x04),
@@ -174,7 +174,7 @@ fn test_index_narrower_than_data() {
174174 // In this test, the access width of the index field is smaller than the data register. Even
175175 // though it looks as though individual 16-bit reads/writes would be OK, actually multiple
176176 // 8-bit reads/writes are needed to access each field. (Not intuitive, but matches ACPICA)
177- const AML : & str = r#"DefinitionBlock("%FN% ", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
177+ const AML : & str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
178178 OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
179179 Field(MEM, WordAcc, NoLock, Preserve) {
180180 OFFSET(0x06),
@@ -223,7 +223,7 @@ fn test_index_narrower_than_data() {
223223#[ test]
224224fn test_index_misaligned_field ( ) {
225225 // Check that we can successfully update non-aligned index fields.
226- const AML : & str = r#"DefinitionBlock("%FN% ", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
226+ const AML : & str = r#"DefinitionBlock("", "DSDT", 1, "RSACPI", "IDXFLD", 1) {
227227 OperationRegion(MEM, SystemMemory, 0x40000, 0x1000)
228228 Field(MEM, ByteAcc, NoLock, Preserve) {
229229 OFFSET(0x08),
0 commit comments