59ae45c1ab
Since the commpage is at a kernel address, changed 64-bit paging code to match x86's behaviour of allowing user-accessible mappings to be created in the kernel portion of the address space. This is also required by some drivers.
18 lines
569 B
C
18 lines
569 B
C
/*
|
|
* Copyright 2012, Alex Smith, alex@alex-smith.me.uk.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _SYSTEM_ARCH_x86_64_COMMPAGE_DEFS_H
|
|
#define _SYSTEM_ARCH_x86_64_COMMPAGE_DEFS_H
|
|
|
|
#ifndef _SYSTEM_COMMPAGE_DEFS_H
|
|
# error Must not be included directly. Include <commpage_defs.h> instead!
|
|
#endif
|
|
|
|
#define COMMPAGE_ENTRY_X86_MEMCPY (COMMPAGE_ENTRY_FIRST_ARCH_SPECIFIC + 0)
|
|
#define COMMPAGE_ENTRY_X86_MEMSET (COMMPAGE_ENTRY_FIRST_ARCH_SPECIFIC + 1)
|
|
|
|
#define ARCH_USER_COMMPAGE_ADDR (0xffffffffffff0000)
|
|
|
|
#endif /* _SYSTEM_ARCH_x86_64_COMMPAGE_DEFS_H */
|