Searched refs:bss_page (Results 1 – 2 of 2) sorted by relevance
/trusty/user/app/sample/memref-test/ |
D | memref-test.c | 40 static __attribute__((aligned(PAGE_SIZE))) char bss_page[PAGE_SIZE]; variable 160 handle_t mref = memref_create(bss_page, PAGE_SIZE, MM_RW); in TEST() 167 EXPECT_EQ(bss_page[0], 3); in TEST() 173 bss_page[0] = 0; in TEST() 180 handle_t mref = memref_create(bss_page, PAGE_SIZE, MM_RW); in TEST() 193 EXPECT_EQ(bss_page[0], 42); in TEST() 205 bss_page[0] = 0; in TEST() 217 EXPECT_CLOSE(memref_create(bss_page + 1, PAGE_SIZE, MM_RW)); in TEST() 219 EXPECT_CLOSE(memref_create(bss_page, PAGE_SIZE - 1, MM_RW)); in TEST() 221 EXPECT_CLOSE(memref_create(bss_page, 10 * PAGE_SIZE, MM_RW)); in TEST() [all …]
|
/trusty/user/app/sample/memref-test/lender/ |
D | lender.c | 44 static __attribute__((aligned(PAGE_SIZE))) char bss_page[PAGE_SIZE]; variable 57 int rc = memref_create(bss_page, PAGE_SIZE, MM_RW); in init() 136 int rc = tipc_send1(chan, &bss_page[region->offset], region->size); in lender_read_bss() 151 memcpy(&bss_page[region->offset], data, region->size); in lender_write_bss()
|