headers: Move B_KERNEL_{EXECUTE,STACK}_AREA into KernelExport.h.

There is no good reason to put them in a private header.
No functional change (but drivers now have access
to these constants.)

Change-Id: I7ac00a120ab44fbc110bc858dfd87d69d0061135
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2294
Reviewed-by: Adrien Destugues <[email protected]>
Reviewed-by: John Scipione <[email protected]>
This commit is contained in:
Augustin Cavalier
2020-03-01 21:12:49 +00:00
committed by waddlesplash
parent 0d312fea71
commit dda8e77b8e
2 changed files with 2 additions and 8 deletions
+2
View File
@@ -113,6 +113,8 @@ typedef struct {
/* area protection flags for the kernel */
#define B_KERNEL_READ_AREA (1 << 4)
#define B_KERNEL_WRITE_AREA (1 << 5)
#define B_KERNEL_EXECUTE_AREA (1 << 6)
#define B_KERNEL_STACK_AREA (1 << 7)
/* MTR attributes for mapping physical memory (Intel Architecture only) */
// TODO: rename those to something more meaningful