-PPC: add user-level tracebuffer stub

-PPC: small fix for BG build
This commit is contained in:
Jan Stoess 2010-09-13 16:20:01 +02:00
parent 2e480db6e9
commit e793c5b968
2 changed files with 35 additions and 1 deletions

View File

@ -166,7 +166,7 @@ void intctrl_t::handle_irq(word_t cpu)
void intctrl_t::map()
{
ctrl = (bgic_t*)get_kernel_space()->
map_device(phys_addr, mem_size, pgent_t::cache_inhibited);
map_device(phys_addr, mem_size, true, pgent_t::cache_inhibited);
}
void intctrl_t::start_new_cpu(word_t cpu)

View File

@ -0,0 +1,34 @@
/*********************************************************************
*
* Copyright (C) 2002, Karlsruhe University
*
* File path: l4/powerpc/tracebuffer.h
* Description: Functions for accessing the tracebuffer
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
********************************************************************/
#pragma once
L4_INLINE void L4_Tbuf_StoreRecordArch(L4_TraceRecord_t *rec, L4_TraceConfig_t config)
{
}