/titanic_52/usr/src/boot/sys/boot/i386/libi386/ |
H A D | i386_copy.c | 67 * Find smap entry above 1MB, able to contain size bytes from addr. 70 smap_find(struct bios_smap *smap, int smaplen, vm_offset_t addr, size_t size) in smap_find() argument 75 if (smap[i].type != SMAP_TYPE_MEMORY) in smap_find() 79 if (smap[i].base < 0x100000) in smap_find() 83 if ((smap[i].base <= addr) && in smap_find() 84 (smap[i].base + smap[i].length >= addr + size)) { in smap_find() 89 if ((smap[i].base > addr) && (smap[i].length >= size)) { in smap_find() 90 return (smap[ in smap_find() 109 struct bios_smap *smap; i386_loadaddr() local [all...] |
H A D | biosmem.c | 42 static struct bios_smap_xattr smap; variable 106 v86.es = VTOPSEG(&smap); in bios_getmem() 107 v86.edi = VTOPOFF(&smap); in bios_getmem() 112 if ((smap.type == SMAP_TYPE_MEMORY) && (smap.base == 0) && in bios_getmem() 113 (smap.length >= (512 * 1024))) { in bios_getmem() 114 bios_basemem = smap.length; in bios_getmem() 119 if ((smap.type == SMAP_TYPE_MEMORY) && in bios_getmem() 120 (smap.base == 0x100000) && in bios_getmem() 122 bios_extmem = smap in bios_getmem() [all...] |
H A D | biossmap.c | 45 struct bios_smap smap; member 79 v86.ecx < sizeof(buf.smap) || v86.ecx > SMAP_BUFSIZE) in bios_getsmap() 85 next->smap = buf.smap; in bios_getsmap() 100 smapbase[n++] = cur->smap; in bios_getsmap() 136 COMMAND_SET(smap, "smap", "show BIOS SMAP", command_smap); 147 printf("SMAP type=%02x base=%016llx len=%016llx attr=%02x\n", in command_smap() 154 printf("SMAP typ in command_smap() [all...] |
H A D | linux.c | 67 struct bios_smap *smap; in find_real_addr() local 74 printf("no memory smap\n"); in find_real_addr() 78 smap = (struct bios_smap *)md->md_data; in find_real_addr() 80 if (smap[i].type != SMAP_TYPE_MEMORY) in find_real_addr() 82 if (smap[i].base >= 0xa0000) in find_real_addr() 84 test_addr(smap[i].base, smap[i].length, &candidate); in find_real_addr()
|
H A D | multiboot.c | 254 struct bios_smap *smap; in multiboot_exec() local 367 printf("no memory smap\n"); in multiboot_exec() 376 smap = (struct bios_smap *)md->md_data; in multiboot_exec() 379 mmap[i].size = sizeof(*smap); in multiboot_exec() 380 mmap[i].addr = smap[i].base; in multiboot_exec() 381 mmap[i].len = smap[i].length; in multiboot_exec() 382 mmap[i].type = smap[i].type; in multiboot_exec()
|
/titanic_52/usr/src/uts/common/vm/ |
H A D | seg_map.c | 98 struct smap *, enum seg_rw); 99 struct smap *get_smap_kpm(caddr_t, page_t **); 134 size_t len, enum seg_rw rw, struct smap *smp); 135 static void segmap_smapadd(struct smap *smp); 136 static struct smap *segmap_hashin(struct smap *smp, struct vnode *vp, 138 static void segmap_hashout(struct smap *smp); 178 * Translate addr into smap number within segment. 183 * Translate addr in seg into struct smap pointer. 200 static struct smap *smd_sma [all...] |
H A D | seg_map.h | 70 * Each smap struct represents a MAXBSIZE sized mapping to the 75 struct smap { struct 78 struct smap *sm_hash; /* hash pointer */ argument 79 struct smap *sm_next; /* next pointer */ argument 80 struct smap *sm_prev; /* previous pointer */ argument 84 ushort_t sm_flags; /* smap flags */ argument 102 #define SM_NOTKPM_RELEASED 0x00000002 /* released smap not in segkpm mode */ argument 108 * Multiple smap free lists are maintained so that allocations 113 #define SM_FREEQ_PAD (64 - sizeof (struct smap *) - sizeof (kmutex_t)) 115 struct smap *smq_fre [all...] |
H A D | vpm.c | 153 * This cache is very similar to segmap's smap cache. Each page in the 257 * these data structures. We just use the smap's prefetch in vpm_init()
|
/titanic_52/usr/src/boot/sys/boot/efi/loader/ |
H A D | memmap.c | 17 * Build smap like memory map from efi memmap. 165 COMMAND_SET(smap, "smap", "show BIOS SMAP", command_smap); 176 printf("SMAP type=%02" PRIx32 " base=%016" PRIx64 in command_smap()
|
/titanic_52/usr/src/boot/sys/boot/userboot/userboot/ |
H A D | biossmap.c | 47 struct bios_smap smap[3], *sm; in bios_addsmapdata() local 51 sm = &smap[0]; in bios_addsmapdata() 73 file_addmetadata(kfp, MODINFOMD_SMAP, len, &smap[0]); in bios_addsmapdata()
|
/titanic_52/usr/src/boot/sys/boot/i386/loader/ |
H A D | help.i386 | 39 # Tsmap DDisplay BIOS SMAP table 41 smap 43 Displays the BIOS SMAP (system memory map) table.
|
/titanic_52/usr/src/uts/sun4u/cpu/ |
H A D | mach_cpu_module.c | 290 * whenever the smap object size changes from the current in prefetch_smap_w() 296 volatile int smap_size_changed [SMAP_SIZE - sizeof (struct smap) + 1]; in prefetch_smap_w() 297 volatile int smap_size_changed2 [sizeof (struct smap) - SMAP_SIZE + 1]; in prefetch_smap_w()
|
H A D | common_asm.s | 1365 * Prefetch struct smap for write. 1406 ! Since the size of the smap struct is 48 bytes, issuing 1 prefetch 1408 ! make sure we don't stall for the cases where the smap object 1412 ! The smap array is processed with decreasing address pointers.
|
/titanic_52/usr/src/boot/sys/amd64/include/pc/ |
H A D | bios.h | 34 * Int 15:E820 'SMAP' structure 36 #define SMAP_SIG 0x534D4150 /* 'SMAP' */
|
/titanic_52/usr/src/boot/sys/boot/common/ |
H A D | multiboot2.c | 714 * Calculate size for bios smap tag. 792 struct bios_smap *smap; in multiboot2_exec() local 975 printf("no memory smap\n"); in multiboot2_exec() 980 smap = (struct bios_smap *)md->md_data; in multiboot2_exec() 999 mmap_entry[i].mmap_addr = smap[i].base; in multiboot2_exec() 1000 mmap_entry[i].mmap_len = smap[i].length; in multiboot2_exec() 1001 mmap_entry[i].mmap_type = smap[i].type; in multiboot2_exec()
|
/titanic_52/usr/src/uts/sun4v/cpu/ |
H A D | mach_cpu_module.c | 120 * whenever the smap object size changes from the current in prefetch_smap_w() 126 volatile int smap_size_changed [SMAP_SIZE - sizeof (struct smap) + 1]; in prefetch_smap_w() 127 volatile int smap_size_changed2 [sizeof (struct smap) - SMAP_SIZE + 1]; in prefetch_smap_w()
|
H A D | common_asm.s | 997 * Prefetch struct smap for write.
|
/titanic_52/usr/src/boot/sys/i386/include/pc/ |
H A D | bios.h | 204 * Int 15:E820 'SMAP' structure 206 #define SMAP_SIG 0x534D4150 /* 'SMAP' */
|
/titanic_52/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | memory.c | 1574 struct smap smp; in vnode2smap() 1620 mdb_warn("couldn't read smap at %p", in vnode2smap() 1627 mdb_warn("couldn't read smap at %p", saddr); in vnode2smap() 1632 mdb_printf("vnode %p, offs %p is smap %p, vaddr %p\n", in vnode2smap() 1641 mdb_printf("no smap for vnode %p, offs %p\n", addr, offset); in vnode2smap() 1671 mdb_printf("%p is smap %p\n", addr, in addr2smap() 1673 sizeof (struct smap) + (uintptr_t)sd.smd_sm); in addr2smap()
|
/titanic_52/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 1270 uchar_t smap[MAX_SENSORS]; in handle_overtemp_interrupt() local 1278 (void) memset(smap, SENSOR_OK, sizeof (smap)); in handle_overtemp_interrupt() 1328 smap[i] = SENSOR_WARN; in handle_overtemp_interrupt() 1337 smap[i] = SENSOR_OK; in handle_overtemp_interrupt() 1372 if (smap[i] == SENSOR_WARN) in handle_overtemp_interrupt()
|
/titanic_52/usr/src/cmd/sendmail/src/ |
H A D | parseaddr.c | 1780 ** smap -- the map to use for the lookup. 1793 map_lookup(smap, key, argvect, pstat, e) in map_lookup() argument 1794 STAB *smap; in map_lookup() 1804 if (smap == NULL) 1807 map = &smap->s_map; 1816 smap->s_name, key); 1826 sm_dprintf("map_lookup(%s, ", smap->s_name); 1849 smap->s_name, key, errno); 1856 smap->s_name,
|
H A D | map.c | 3505 MAP *smap = s->s_lmap; local 3507 if (tTd(38, 2) && smap != map) 3509 map->map_mname, smap->map_mname); 3510 smap->map_mflags &= ~(MF_OPEN|MF_WRITABLE); 3511 lmap = (SM_LDAP_STRUCT *) smap->map_db1; 7835 MAP *smap; local 7853 smap = s->s_socketmap; 7854 while (smap != NULL) 7858 if (tTd(38, 2) && smap != map) 7860 map->map_mname, smap [all...] |
/titanic_52/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 1635 uchar_t smap[MAX_SENSORS]; in handle_overtemp_interrupt() local 1647 (void) memset(smap, SENSOR_OK, sizeof (smap)); in handle_overtemp_interrupt() 1699 smap[i] = SENSOR_WARN; in handle_overtemp_interrupt() 1708 smap[i] = SENSOR_OK; in handle_overtemp_interrupt() 1743 if (smap[i] == SENSOR_WARN) in handle_overtemp_interrupt()
|
/titanic_52/usr/src/cmd/sendmail/db/db/ |
H A D | db_pr.c | 249 "cmap: %#lx smap: %#lx emap: %#lx msize: %lu\n",
|
/titanic_52/usr/src/grub/grub-0.97/stage2/ |
H A D | asm.S | 1551 /* set EDX to 'SMAP' */
|