[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unikraft unikernel - allocate memory page at predefined ritual address


  • To: minios-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Mariusz Borsa <wrotki@xxxxxxxxxxx>
  • Date: Thu, 24 Sep 2020 00:46:58 -0700
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hQRZ8eP1ozH/sKpsVfmEEoDT6AjNT0yD/TKhL3l4Hr8=; b=VN2K54G1N6IG7+RbyGvWgFZapjSu+NbNQSFWkDlaCXpBCL625397ADRQKMXVXxFkVwxic4KBARPtBeb/pIF5eOYVy+FRSZriMODTELUYnBP9Pk54eQFgwJhOZr1UeKAkq+4m8cVYIDgxjQ33fuN2fS/BVvPoNlwcJEhiszYyT9ydz0CJCvWsz8uEI/bc9YtGsJJdP2uhgy2bIYeeiGtunClmblcjbKB7Vtgo2GFRt7V7jOFwWqld3fCcTviKmmuWPjTerQjajUasqP627z0gCna/8UHd6j4SMYbLeXLJtuZl4keDsqO5mKNiB9cYBA5zBLv5hgD0n6ivxh0s2VixnA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i8dLcakiRWIcQlQnWvzipJ9ck37hpnTlb51l0bMd+8W1PiulPot7yopObtDi4d14pSmZIxlxoeyiOfR9glkPfpuULufRKu6RV+HW/AwThx4UW8+zedPUqGBv1PSr2nP+jDnvRlE68q9Jc0duCRHHuPCCNSBsyirspNf2EWHWFywfadWakZMC+CiCUKNHYZRq5iB1h5MTwLTObi+pRELXX3RZcV7vY+70gW44ZOxTVsRxKLpFa/xw5WyREffTHXe9UH/ynkSsRh4bWg4AVG4ZfT6f9JUJesJtSBp/ZImdMzolQcjqBdJRf8a3YhuPcdjuhTW1vjfPLMCej9yL6nYc3w==
  • Delivery-date: Thu, 24 Sep 2020 07:47:11 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>

Hi

What would be the right way to do that, when I start from the helloworld 
example? Should I use mmap with MAP_FIXED option as I would do under Linux? Or 
is there a way to call something lower on the stack? 

Or to reformulate the question - since the unikernel is well, a kernel - what 
would be the simplest way to have it allocate a virtual memory page at 
predetermined virtual address?

Thanks
Mariusz Borsa


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.