Documentation ¶ Index ¶ func MapFrames(frames []uintptr) unsafe.Pointer type Page func AllocPage() *Page Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func MapFrames ¶ func MapFrames(frames []uintptr) unsafe.Pointer MapFrames maps the provided machine frames into contiguous memory and returns a pointer to the block. Types ¶ type Page ¶ type Page struct { // Frame is an opaque identifier of the page's machine frame. Frame uintptr // Ptr is a pointer to a page of memory of size len(Data). Ptr unsafe.Pointer // Data is the page represented as a slice of bytes. Data []byte } Page represents a page of allocated memory. func AllocPage ¶ func AllocPage() *Page AllocPage allocates a physical page, maps it into memory, and returns a Page structure describing the page. Source Files ¶ View all Source files mm.go Click to show internal directories. Click to hide internal directories.