-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Code
blk *ram_backend;
ram_backend = (blk *)memmgr_heap_page_allocn(4096); // return 0x546000
memcpy(&ram_backend[offset], smem_table[i].__blockdev_s_smem_pool,
length * BLOCKDEV_RAMDISK_BSIZE); // at 0x404c7eConsole Output
(CPU0:) registers:
(CPU0:) General registers-> EAX: 546000, EBX: 0, ECX: 400, EDX: 1000
(CPU0:) Segment registers-> CS: 1b, DS: 23, ES: 23, FS: 23, GS: 33, SS: 23
(CPU0:) Index registers-> ESI: 455000, EDI: 546000, EIP: 404c7e, ESP: 41afa8, EBP: 41afcc
(CPU0:) Indicator-> EFLAGS: 3206
(CPU0:) (Exception Error Code-> ORIG_AX: 6)
(0) FAULT: Page Fault in thd 8 (not-present write-fault user-mode ) @ 0x546000, ip 0x404c7e
Link to the function
| memmgr_heap_page_allocn(unsigned long num_pages) |
Metadata
Metadata
Assignees
Labels
No labels