原创 Using QEMU for Embedded Systems Development, Part 2

First of all, I would like to explain the need for a bootloader. The bootloader is code that is used to load the kernel

原创 學習Gtkmm系列之三

About對話框應該是最容易實現的了,廢話不說了,看代碼吧。 SampleWindow::onHelpAbout() { static Gtk::AboutDialog *pAbout = NULL; std::cout <<

原创 學習Gtkmm系列之六

爲了防止內存泄漏,研究了一下valgrind在gtkmm下的使用,方法如下:1 生成supp文件,具體方法參見http://wiki.wxwidget

原创 學習Gtkmm系列之五

程序客戶區的創建可謂仁者見仁,智者見智了。比較常用的就是使用hpaned控件來完成,左邊爲sidepane,右邊位mainpane,這樣將來可以根據實際應用的需要來採用不同的控件。我這裏使用兩個Button來演示。該控件採用屬性來與菜單中

原创 學習Gtkmm系列之二

主程序main.cpp放在src目錄下 ,內容很簡單: #include <gtkmm.h>

原创 Using CodeSourcery bare metal toolchain for Cortex-M3

CodeSourcery provides toolchains for many architectures, and among them there are “bare metal” toolchains that produce

原创 Hello Gtk+ in Linux Assembly Language

# Hello GTK+ in Assembly # # as -g asm-gtk.s -o asm-gtk.s.o # gcc asm-gtk.s.o `pkg-config --libs gtk+-2.0` -g -o test #

原创 Dalvik JIT - triggering condition by Bill Buzbee

Yes, the simple hash function in footer.S is loose by design and will defi

原创 Using QEMU for Embedded Systems Development, Part 1

Techies who work in the embedded domain must be familiar with the ARM (Advanced RISC Machine) architecture. In the mode

原创 學習Gtkmm系列之一

  在linux下C語言寫程序寫的很多了,而C++語言往往是看的多,或者修改部分小功能,從沒有認認真真的用C++來寫過桌面程序。所謂事非經過不知難,爲了提高自己C++的技能,準備編寫這個系列文章。之所以選擇Gtkmm而不是Qt,是因爲自己

原创 Hello, JIT World: The Joy of Simple JITs

This is a demonstration of how simple and enjoyable small JITs (just-in-ti

原创 Android鎖屏嘗試次數太多導致需要google賬戶登錄問題

給別人做項目時用的android pad,爲了防止兒子沉溺其中,故設置圖形鎖屏。沒想到小傢伙嘗試多次導致需要google賬戶登錄。問題就在於我沒有原始的google賬戶密碼。 幸好當時燒的是eng版本,adb登錄後就有root權限,將設置

原创 學習Gtkmm系列之四

  從從 GLib 2.26 起增加了GSettings組件,便於編寫程序的設置參數。據說比GConf快很多,許多GNOME程序都開始使用它了。使用它的話需要先編寫一個名字以gschema.xml結尾的文件,將需要的設置項設置好,最後使用

原创 Dalvik jit分析

點贊 收藏 分享 文章舉報 iltgcl 發佈了13 篇原創文章 · 獲贊 1 · 訪問量 2萬+ 私信 關注

原创 Dalvik JIT - jump to the JITed code by Ben Cheng

Your observation is actually correct - the initial transition from the interpreter to JIT'ed code requires the the Dalv