Added sys_readbios.

Changed pci_dev_name and pci_slot_name to use safecopies.
Mae it possible to disable the use of safecopies in kputc for debugging.
This commit is contained in:
Philip Homburg
2006-07-10 12:17:16 +00:00
parent d7174ec0ab
commit 73e5de6354
5 changed files with 53 additions and 9 deletions

View File

@@ -11,6 +11,8 @@
static char print_buf[80]; /* output is buffered here */
int kputc_use_private_grants= 0;
/*===========================================================================*
* kputc *
*===========================================================================*/
@@ -28,6 +30,12 @@ int c;
static cp_grant_id_t printgrants[PRINTPROCS];
int p;
if (kputc_use_private_grants)
{
for (p= 0; p<PRINTPROCS; p++)
printgrants[p]= GRANT_INVALID;
firstprint= 0;
}
if(firstprint) {
for(p = 0; procs[p] != NONE; p++) {
printgrants[p] = GRANT_INVALID;