This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <string.h> | |
#include <pci/pci.h> | |
#define FLAG(x,y) ((x & y) ? '+' : '-') | |
/* | |
* Constants for Intel APIC based MSI messages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/arch/x86/kernel/apic/apic.c b/arch/x86/kernel/apic/apic.c | |
index a2fd72e..025c861 100644 | |
--- a/arch/x86/kernel/apic/apic.c | |
+++ b/arch/x86/kernel/apic/apic.c | |
@@ -1414,6 +1414,7 @@ void __init bsp_end_local_APIC_setup(void) | |
#ifdef CONFIG_X86_X2APIC | |
void check_x2apic(void) | |
{ | |
+ printk("%s:%d\n", __func__, __LINE__); | |
if (x2apic_enabled()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86_64 3.1.6 Kernel Configuration | |
# | |
CONFIG_64BIT=y | |
# CONFIG_X86_32 is not set | |
CONFIG_X86_64=y | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y | |
CONFIG_OUTPUT_FORMAT="elf64-x86-64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86_64 3.2.0 Kernel Configuration | |
# | |
CONFIG_64BIT=y | |
# CONFIG_X86_32 is not set | |
CONFIG_X86_64=y | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y | |
CONFIG_OUTPUT_FORMAT="elf64-x86-64" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Last login: Sun Jan 22 02:38:39 on ttys000 | |
syuus-MacBook:~ syuu$ ssh root@192.168.100.100 | |
root@192.168.100.100's password: | |
syuu-no-iPad:~ root# ps ax | |
PID TT STAT TIME COMMAND | |
1 ?? Ss 0:23.70 /sbin/launchd | |
15 ?? Ss 2:17.44 /usr/libexec/UserEventAgent -l System | |
17 ?? Ss 0:12.28 /usr/sbin/notifyd | |
19 ?? Ss 0:04.43 /usr/sbin/syslogd | |
21 ?? Ss 0:34.21 /usr/libexec/configd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AutoSubmitted</key> | |
<true/> | |
<key>SysInfoCrashReporterKey</key> | |
<string>38a59ecd234992396292eb7a89e43946bd8b9ed3</string> | |
<key>bug_type</key> | |
<string>109</string> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syuu-no-iPad:/Applications/AppStore.app mobile$ otool -L AppStore AppStore: | |
/System/Library/PrivateFrameworks/AppStoreUI.framework/AppStoreUI (compatibility version 1.0.0, current version 1.0.0) | |
/System/Library/Frameworks/Foundation.framework/Foundation (compatibility version 300.0.0, current version 881.0.0) | |
/System/Library/PrivateFrameworks/iTunesStoreUI.framework/iTunesStoreUI (compatibility version 1.0.0, current version 1.0.0) | |
/System/Library/PrivateFrameworks/StoreServices.framework/StoreServices (compatibility version 1.0.0, current version 1.0.0) | |
/System/Library/Frameworks/UIKit.framework/UIKit (compatibility version 1.0.0, current version 1600.0.0) | |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 161.1.0) | |
/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation (compatibility version 150.0.0, current version 675.0.0) | |
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syuus-MacBook:~ syuu$ ls /Library/ | |
Application Support Graphics QuickTime | |
Audio Image Capture Receipts | |
Automator Input Methods Ruby | |
Caches Internet Plug-Ins Sandbox | |
ColorPickers Java Screen Savers | |
ColorSync Keyboard Layouts ScriptingAdditions | |
Components Keychains Scripts | |
Compositions LaunchAgents Security | |
Contextual Menu Items LaunchDaemons Server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syuus-MacBook:~ syuu$ otool -L /Applications/Aquamacs.app/Contents/MacOS/Aquamacs | |
/Applications/Aquamacs.app/Contents/MacOS/Aquamacs (architecture i386): | |
/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.54.0) | |
/System/Library/Frameworks/Quartz.framework/Versions/A/Quartz (compatibility version 1.0.0, current version 1.0.0) | |
/System/Library/Frameworks/WebKit.framework/Versions/A/WebKit (compatibility version 1.0.0, current version 531.21.8) | |
/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0) | |
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) | |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.5) | |
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 32.0.0) | |
/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ uname -a | |
Linux test1 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux | |
$ grep NR_CPUS /boot/config-3.0.0-12-server | |
CONFIG_NR_CPUS=256 | |
$ cat /sys/devices/system/node/node0/cpumap | |
00000000,00000000,00000000,00000000,00000000,00000000,00000000,000000ff | |
$ vi /usr/src/linux/include/linux/cpumask.h |