* Seems like someone wasn't quite awake when doing these changes; the kernel
now compiles again with tracing turned on. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37162 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c370a7b296
commit
cdb638a8ee
@ -423,8 +423,8 @@ TracingMetaData::_CreateMetaDataArea(bool findPrevious, area_id& _area,
|
||||
physical_address_restrictions physicalRestrictions = {};
|
||||
physicalRestrictions.low_address = metaDataAddress;
|
||||
physicalRestrictions.high_address = metaDataAddress + B_PAGE_SIZE;
|
||||
area_id create_area_etc(B_SYSTEM_TEAM, "tracing metadata", B_PAGE_SIZE,
|
||||
B_FULL_LOCK, B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA,
|
||||
area_id area = create_area_etc(B_SYSTEM_TEAM, "tracing metadata",
|
||||
B_PAGE_SIZE, B_FULL_LOCK, B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA,
|
||||
CREATE_AREA_DONT_CLEAR, &virtualRestrictions, &physicalRestrictions,
|
||||
(void**)&metaData);
|
||||
if (area < 0)
|
||||
@ -478,7 +478,7 @@ TracingMetaData::_InitPreviousTracingData()
|
||||
physical_address_restrictions physicalRestrictions = {};
|
||||
physicalRestrictions.low_address = fPhysicalAddress;
|
||||
physicalRestrictions.high_address = fPhysicalAddress
|
||||
+ ROUNDUP(kTraceOutputBufferSize + MAX_TRACE_SIZE);
|
||||
+ ROUNDUP(kTraceOutputBufferSize + MAX_TRACE_SIZE, B_PAGE_SIZE);
|
||||
area_id area = create_area_etc(B_SYSTEM_TEAM, "tracing log",
|
||||
kTraceOutputBufferSize + MAX_TRACE_SIZE, B_CONTIGUOUS,
|
||||
B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA, CREATE_AREA_DONT_CLEAR,
|
||||
|
Loading…
Reference in New Issue
Block a user