ACPI: Cleanup

Remove unnecessary debugging output. Filter output correctly in run script.
This commit is contained in:
Sebastian Sumpf 2012-03-06 16:15:07 +01:00 committed by Norman Feske
parent ae8cf5f44d
commit c5e2fa06cb
2 changed files with 3 additions and 7 deletions

View File

@ -96,7 +96,7 @@ if { [file exists $disk_image] == 0 } then {
run_genode_until "child exited with exit value 0.*\n" 10
# pay only attention to the output of test-ahci
grep_output {^\[init -> t}
grep_output {^\[init -> test-ahci}
compare_output_to {
[init -> test-ahci] --- AHCI block driver test ---

View File

@ -503,12 +503,8 @@ class Element : public List<Element>::Element
memcpy(name, _data + offset, name_len);
name[name_len] = 0;
char name_dev[dev->_name_len + 1];
memcpy(name_dev, dev->_name, dev->_name_len);
name_dev[dev->_name_len] = 0;
if (verbose)
PDBG("Indirect %s %s", name, name_dev);
PDBG("Indirect %s", name);
for (uint32_t skip = 0; skip <= dev->_name_len / NAME_LEN; skip++) {
Element *e = dev->_compare(name, skip * NAME_LEN);
@ -719,7 +715,7 @@ class Element : public List<Element>::Element
e->_bdf = (seg << 16) | (bbn << 8) | (adr >> 16) << 3 | (adr & 0xffff);
/* add routing */
Element *prt = e->_compare("_PRT");
Element *prt = e->_compare("_PRT");
if (prt) prt->dump();
if (prt) {