Home
last modified time | relevance | path

Searched refs:fth_buf (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/sun4/os/
H A Dforthdebug.c96 char *fth_buf, *buf_p; in forthdebug_init() local
123 fth_buf = (char *)kobj_zalloc(fsz + 1, KM_SLEEP); in forthdebug_init()
124 sz = kobj_read_file(file, fth_buf, fsz, 0); /* entire file */ in forthdebug_init()
130 fth_buf[sz] = 0; in forthdebug_init()
134 buf_p = strstr(fth_buf, basic_sym[i + 1]); in forthdebug_init()
148 if (!(buf_p = strstr(fth_buf, SYMBOL_END))) { in forthdebug_init()
155 (long)(buf_p - fth_buf)); in forthdebug_init()
157 prom_interpret(fth_buf, 0, 0, 0, 0, 0); in forthdebug_init()
162 prom_interpret(fth_buf, 0, 0, 0, 0, 0); in forthdebug_init()
179 kobj_free(fth_buf, fsz + 1); in forthdebug_init()
/titanic_41/usr/src/psm/stand/boot/sparc/common/
H A Dramdisk.c252 char *fth_buf; in create_ramdisk() local
287 fth_buf = bkmem_alloc(buf_size); in create_ramdisk()
288 if (fth_buf == NULL) in create_ramdisk()
291 (void) snprintf(fth_buf, buf_size, ramdisk_fth, in create_ramdisk()
295 prom_interpret(fth_buf, 0, 0, 0, 0, 0); in create_ramdisk()
296 bkmem_free(fth_buf, buf_size); in create_ramdisk()
335 char *fth_buf; in boot_ramdisk() local
373 fth_buf = bkmem_alloc(buf_size); in boot_ramdisk()
374 if (fth_buf == NULL) in boot_ramdisk()
377 (void) snprintf(fth_buf, buf_size, ramdisk_bootable, in boot_ramdisk()
[all …]