Home
last modified time | relevance | path

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

/illumos-gate/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()
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dramdisk.c251 char *fth_buf; in create_ramdisk() local
286 fth_buf = bkmem_alloc(buf_size); in create_ramdisk()
287 if (fth_buf == NULL) in create_ramdisk()
290 (void) snprintf(fth_buf, buf_size, ramdisk_fth, in create_ramdisk()
294 prom_interpret(fth_buf, 0, 0, 0, 0, 0); in create_ramdisk()
295 bkmem_free(fth_buf, buf_size); in create_ramdisk()
334 char *fth_buf; in boot_ramdisk() local
372 fth_buf = bkmem_alloc(buf_size); in boot_ramdisk()
373 if (fth_buf == NULL) in boot_ramdisk()
376 (void) snprintf(fth_buf, buf_size, ramdisk_bootable, in boot_ramdisk()
[all …]