Another nice patch from Mark Cave-Ayland:
This patch corrects a couple of (minor) bugs in the Forth source debugger; firstly the number of wordlists is held in #order, rather than #vocs which is the total number of wordlists which can be held simultaneously. Secondly, the initial interruptforth setting in kernel/bootstrap.c is actually wrong, but since this is reset by enterforth() it is not needed anyway. Hence this line can simply be removed. git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@623 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
parent
937bd232c7
commit
99f0be82ab
|
@ -909,7 +909,6 @@ static void run_dictionary(char *basedict)
|
|||
if (verbose)
|
||||
printk("Jumping to dictionary...");
|
||||
|
||||
interruptforth = 1;
|
||||
enterforth((xt_t)PC);
|
||||
}
|
||||
|
||||
|
|
|
@ -173,7 +173,7 @@ ucell findsemis(ucell xt)
|
|||
|
||||
if (read_ucell(cell2pointer(usesvocab))) {
|
||||
/* Vocabularies are in use, so search each one in turn */
|
||||
ucell numvocabs = findword("#vocs") + sizeof(cell);
|
||||
ucell numvocabs = findword("#order") + sizeof(cell);
|
||||
|
||||
for (i = 0; i < read_ucell(cell2pointer(numvocabs)); i++) {
|
||||
ucell vocabs = findword("vocabularies") + 2 * sizeof(cell);
|
||||
|
@ -228,7 +228,7 @@ ucell findxtfromcell(ucell incell)
|
|||
|
||||
if (read_ucell(cell2pointer(usesvocab))) {
|
||||
/* Vocabularies are in use, so search each one in turn */
|
||||
ucell numvocabs = findword("#vocs") + sizeof(cell);
|
||||
ucell numvocabs = findword("#order") + sizeof(cell);
|
||||
|
||||
for (i = 0; i < read_ucell(cell2pointer(numvocabs)); i++) {
|
||||
ucell vocabs = findword("vocabularies") + 2 * sizeof(cell);
|
||||
|
|
Loading…
Reference in New Issue